FileInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the properties of a file.
public ref class FileInfo sealed : Microsoft::VisualStudio::RpcContracts::FileSystem::DirectoryEntryInfo
[System.Runtime.Serialization.DataContract]
public sealed class FileInfo : Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryInfo
[<System.Runtime.Serialization.DataContract>]
type FileInfo = class
inherit DirectoryEntryInfo
Public NotInheritable Class FileInfo
Inherits DirectoryEntryInfo
- Inheritance
- Attributes
Constructors
FileInfo(Uri, FileAttributes, Int64, DateTime, DateTime) |
Initializes a new instance of the FileInfo class. |
Properties
Attributes |
Gets the attributes of the directory entry. (Inherited from DirectoryEntryInfo) |
CreationTime |
Gets the creation time for the directory entry (UTC). (Inherited from DirectoryEntryInfo) |
LastWriteTime |
Gets the time when the directory entry was last written to (UTC). (Inherited from DirectoryEntryInfo) |
Length |
Gets the size of the file, in bytes. |
Uri |
Gets the URI for the directory entry. (Inherited from DirectoryEntryInfo) |