FileSystemInfoExtension Property |
Gets the string representing the extension part of the file.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntaxpublic 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.
RemarksThe Extension property returns the FileSystemInfo extension, including the period (.).
For example, for a file c:\NewFile.txt, this property returns ".txt".
See Also