Gets the name of the file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public override string Name { get; }
Public Overrides ReadOnly Property Name As String
Get
public:
virtual property String^ Name {
String^ get () override;
}
abstract Name : string with get
override Name : string with get
Property Value
Type:
StringThe name of the file.
Remarks The name of the file includes the file extension.
When first called, FileInfo calls Refresh and caches information about the file.
On subsequent calls, you must call Refresh to get the latest copy of the information.
The name of the file includes the file extension.
See Also