ParserHelpers.IsIdentifier 方法

定义

重载

IsIdentifier(String)
IsIdentifier(String, Boolean)

IsIdentifier(String)

public:
 static bool IsIdentifier(System::String ^ value);
public static bool IsIdentifier (string value);
static member IsIdentifier : string -> bool
Public Shared Function IsIdentifier (value As String) As Boolean

参数

value
String

返回

适用于

IsIdentifier(String, Boolean)

public:
 static bool IsIdentifier(System::String ^ value, bool requireIdentifierStart);
public static bool IsIdentifier (string value, bool requireIdentifierStart);
static member IsIdentifier : string * bool -> bool
Public Shared Function IsIdentifier (value As String, requireIdentifierStart As Boolean) As Boolean

参数

value
String
requireIdentifierStart
Boolean

返回

适用于