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 .) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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 | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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