SyntaxCheck::CheckRootedPath Method (String^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: