Редактиране

Споделяне чрез


SyntaxCheck Class

Definition

Provides methods to verify the machine name and path conform to a specific syntax. This class cannot be inherited.

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

public ref class SyntaxCheck abstract sealed
public ref class SyntaxCheck
public static class SyntaxCheck
public class SyntaxCheck
type SyntaxCheck = class
Public Class SyntaxCheck
Inheritance
SyntaxCheck

Methods

CheckMachineName(String)

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

Checks the syntax of the machine name to confirm that it does not contain "\".

CheckPath(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 whether it starts with "\\".

CheckRootedPath(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:".

Applies to