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 class.
|
Methods
Name | Description | |
---|---|---|
CopyTo(String) |
Copies current file to destination.
(Overrides FileInfo CopyTo(String).) | |
CopyTo(String, Boolean) |
Copies current file to destination.
(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 |
Moves an existing file to a new file.
(Overrides FileInfo MoveTo(String).) | |
OpenRead |
Creates a read-only ICMSFileStream.
(Overrides FileInfo OpenRead .) | |
OpenText |
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
(Overrides FileInfo OpenText .) | |
ToString |
Converts current info 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.
(Overrides FileInfo DirectoryName.) | |
Exists |
If file exists.
(Overrides FileInfo Exists.) | |
Extension |
File extension.
(Overrides FileInfo Extension.) | |
FullName |
Full name of file (with whole path).
(Overrides FileInfo FullName.) | |
IsReadOnly |
If is read only.
(Overrides FileInfo IsReadOnly.) | |
LastAccessTime |
Last access time.
(Overrides FileInfo LastAccessTime.) | |
LastWriteTime |
Last write time to file.
(Overrides FileInfo LastWriteTime.) | |
Length |
Length of file.
(Overrides FileInfo Length.) | |
Name |
File name of file (without path).
(Overrides FileInfo Name.) | |
SystemInfo |
System.IO file info object corresponding to this file
(Inherited from FileInfo.) |
See Also