PathGetExtension Method (String) |
Namespace: Alphaleonis.Win32.Filesystem
The extension of the specified path (including the period "."), or null, or Empty.
If path is null, this method returns null.
If path does not have extension information, this method returns Empty.
Exception | Condition |
---|---|
ArgumentException | The path parameter contains invalid characters, is empty, or contains only white spaces. |
ArgumentNullException |