Edit

Share via


FileInfo Class

Definition

public ref class FileInfo sealed : Microsoft::IO::FileSystemInfo
public sealed class FileInfo : Microsoft.IO.FileSystemInfo
type FileInfo = class
    inherit FileSystemInfo
Public NotInheritable Class FileInfo
Inherits FileSystemInfo
Inheritance

Constructors

FileInfo(String)

Fields

FullPath (Inherited from FileSystemInfo)
OriginalPath (Inherited from FileSystemInfo)

Properties

Attributes (Inherited from FileSystemInfo)
CreationTime (Inherited from FileSystemInfo)
CreationTimeUtc (Inherited from FileSystemInfo)
Directory
DirectoryName
Exists (Inherited from FileSystemInfo)
Extension (Inherited from FileSystemInfo)
FullName (Inherited from FileSystemInfo)
IsReadOnly
LastAccessTime (Inherited from FileSystemInfo)
LastAccessTimeUtc (Inherited from FileSystemInfo)
LastWriteTime (Inherited from FileSystemInfo)
LastWriteTimeUtc (Inherited from FileSystemInfo)
Length
LinkTarget (Inherited from FileSystemInfo)
Name (Inherited from FileSystemInfo)

Methods

AppendText()
CopyTo(String, Boolean)
CopyTo(String)
Create()
CreateAsSymbolicLink(String) (Inherited from FileSystemInfo)
CreateText()
Decrypt()
Delete()
Encrypt()
GetObjectData(SerializationInfo, StreamingContext) (Inherited from FileSystemInfo)
MoveTo(String, Boolean)
MoveTo(String)
Open(FileMode, FileAccess, FileShare)
Open(FileMode, FileAccess)
Open(FileMode)
OpenRead()
OpenText()
OpenWrite()
Refresh() (Inherited from FileSystemInfo)
Replace(String, String, Boolean)
Replace(String, String)
ResolveLinkTarget(Boolean) (Inherited from FileSystemInfo)
ToString() (Inherited from FileSystemInfo)

Applies to