Returns the extension of the specified path.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static string GetExtension(
string path
)
Parameters
- path String
- Path from which to get the extension from.
Return Value
StringString containing the extension (including '.'), null if the path is null, and Empty string if the
path does not contain an extension.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also