ParserHelpers.IsIdentifier ParserHelpers.IsIdentifier ParserHelpers.IsIdentifier Method

Definition

Overloads

IsIdentifier(String) IsIdentifier(String) IsIdentifier(String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified string value is an identifier.

IsIdentifier(String, Boolean) IsIdentifier(String, Boolean) IsIdentifier(String, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified string value is an identifier.

IsIdentifier(String) IsIdentifier(String) IsIdentifier(String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified string value is an identifier.

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

The value to check.

Returns

true if the specified string value is an identifier; otherwise, false.

IsIdentifier(String, Boolean) IsIdentifier(String, Boolean) IsIdentifier(String, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified string value is an identifier.

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
Parameters
value
String String String

The value to check.

requireIdentifierStart
Boolean Boolean Boolean

true to require that the identifier starts with a letter or underscore (_); otherwise, false.

Returns

true if the specified string value is an identifier; otherwise, false.

Applies to