FileSystemInfoExtension Property |
Gets the string representing the extension part of the file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public string Extension { get; }
Public ReadOnly Property Extension As String
Get
public:
property String^ Extension {
String^ get ();
}
member Extension : string with get
Property Value
Type:
StringA string containing the
FileSystemInfo extension.
Remarks The Extension property returns the FileSystemInfo extension, including the period (.).
For example, for a file c:\NewFile.txt, this property returns ".txt".
See Also