SyntaxCheck::CheckRootedPath Method (String^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Checks the syntax of the path to see if it starts with "\" or drive letter "C:".

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
static bool CheckRootedPath(
	String^ value
)

Parameters

value
Type: System::String^

A string containing the path to check.

Return Value

Type: System::Boolean

true if value matches the proper path format; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: