Click or drag to resize

PathGetExtention Method

Note: This API is now obsolete.

Returns the extension of the specified path.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
[ObsoleteAttribute("Use GetExtension() instead")]
public static string GetExtention(
	string path
)

Parameters

path  String
Path from which to get the extension from.

Return Value

String
String containing the extension (including '.'), null if the path is null, and Empty string if the path does not contain an extension.
Exceptions
ExceptionCondition
ArgumentExceptionThe specified path contains invalid characters.

Version Information

.NET Compact Framework

Obsolete (compiler warning) in 3.5
See Also