Share via


ParserHelpers.IsIdentifier Method

Definition

Overloads

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)

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)

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

The value to check.

Returns

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

Applies to

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

The value to check.

requireIdentifierStart
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