Click or drag to resize

PathGetDirectoryName Method

Returns the directory information from the specified path string.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static string? GetDirectoryName(
	string path
)

Parameters

path  String
Path from which to get the directory information from.

Return Value

String
String containing the directory information as a string.
Exceptions
ExceptionCondition
PathTooLongExceptionSpecified path is too long.
ArgumentExceptionThe specified path contains invalid characters.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also