SyntaxCheck.CheckPath Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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 whether it starts with "\\".

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

public static bool CheckPath(
	string 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