ParserHelpers.IsIdentifier Method (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.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Shared Function IsIdentifier ( _
value As String _
) As Boolean
'Usage
Dim value As String
Dim returnValue As Boolean
returnValue = ParserHelpers.IsIdentifier(value)
public static bool IsIdentifier(
string value
)
public:
static bool IsIdentifier(
String^ value
)
static member IsIdentifier :
value:string -> bool
public static function IsIdentifier(
value : String
) : boolean
Parameters
- value
Type: System.String
The value to check.
Return Value
Type: System.Boolean
true if the specified string value is an identifier; otherwise, false.