SyntaxCheck Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈