Click or drag to resize

PathIsPathRooted Method

Gets a value indicating whether the specified path string contains absolute or relative path information.
Remarks
Note, absolute paths are expected for operations like opening or creating a file in the File class.

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

Parameters

path  String
The path to test.

Return Value

Boolean
true if path contains an absolute path; otherwise, false.
Exceptions
ExceptionCondition
ArgumentExceptionThe specified path contains invalid characters.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also