다음을 통해 공유


FileInfo Class

Definition

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)

Applies to