Skip to main content

IFileInfo Members

Properties

Name Description
Attributes Gets or sets file attributes. Inherited from IFileSystemInfo.
DirectoryName Gets a string representing the directory’s full path. Inherited from IFileSystemInfo.
Exists Determines whether the specified file exists. Inherited from IFileSystemInfo.
Length
Name Gets a file or a folder name. Inherited from IFileSystemInfo.

Methods

Name Description
AppendText()
CopyTo(String, Boolean)
Create()
CreateText()
Delete() Deletes a file or folder. Inherited from IFileSystemInfo.
MoveTo(String) Moves a specified file to a new location and allows you to specify a new file name. Inherited from IFileSystemInfo.
Open(FileMode, FileAccess, FileShare)
OpenRead()
OpenText()
OpenWrite()
See Also