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.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static bool IsPathRooted(
string path
)
Parameters
- path String
- The path to test.
Return Value
Booleantrue if path contains an absolute path; otherwise, false.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also