The FileInfo type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | FileInfo |
Initializes new instance of FileInfo.
|
Methods
Name | Description | |
---|---|---|
![]() | CopyTo(String) |
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfo CopyTo(String).) |
![]() | CopyTo(String, Boolean) |
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfo CopyTo(String, Boolean).) |
![]() | CreateText |
Creates or opens a file for writing UTF-8 encoded text.
(Overrides FileInfo CreateText .) |
![]() | Delete |
Deletes file.
(Overrides FileInfo Delete .) |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | MoveTo |
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfo MoveTo(String).) |
![]() | OpenRead |
Opens file for reading.
(Overrides FileInfo OpenRead .) |
![]() | OpenText |
Creates stream which reads from file.
(Overrides FileInfo OpenText .) |
![]() | ToString |
Converts FileInfo object to string.
(Overrides FileInfo ToString .) |
Extension Methods
Name | Description | |
---|---|---|
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
Name | Description | |
---|---|---|
![]() | mSystemInfo |
System.IO file info object corresponding to this file
(Inherited from FileInfo.) |
Properties
Name | Description | |
---|---|---|
![]() | Attributes |
File attributes.
(Overrides FileInfo Attributes.) |
![]() | CreationTime |
Creation date of file.
(Overrides FileInfo CreationTime.) |
![]() | Directory |
Directory of file.
(Overrides FileInfo Directory.) |
![]() | DirectoryName |
Directory name of file (without path).
(Overrides FileInfo DirectoryName.) |
![]() | Exists |
If file exists.
(Overrides FileInfo Exists.) |
![]() | Extension |
File extenstion.
(Overrides FileInfo Extension.) |
![]() | FullName |
Full name of file (with whole path).
(Overrides FileInfo FullName.) |
![]() | IsReadOnly |
If is read only.
(Overrides FileInfo IsReadOnly.) |
![]() | LastAccessTime |
Creation date of file.
(Overrides FileInfo LastAccessTime.) |
![]() | LastWriteTime |
Last wirte time to file.
(Overrides FileInfo LastWriteTime.) |
![]() | Length |
Length of file.
(Overrides FileInfo Length.) |
![]() | Name |
File name of file (without path).
(Overrides FileInfo Name.) |
![]() | SystemInfo |
Returns system file info object.
(Overrides FileInfo SystemInfo.) |
See Also