Tokenizer<TSymbol, TSymbolType>.At Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Determines whether the lookahead buffer contains the expected string.
Namespace: System.Web.Razor.Tokenizer
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Function At ( _
expected As String, _
caseSensitive As Boolean _
) As Boolean
'Usage
Dim expected As String
Dim caseSensitive As Boolean
Dim returnValue As Boolean
returnValue = Me.At(expected, caseSensitive)
protected bool At(
string expected,
bool caseSensitive
)
protected:
bool At(
String^ expected,
bool caseSensitive
)
member At :
expected:string *
caseSensitive:bool -> bool
protected function At(
expected : String,
caseSensitive : boolean
) : boolean
Parameters
- expected
Type: System.String
The string to check.
- caseSensitive
Type: System.Boolean
true to indicate comparison is case sensitive; otherwise, false.
Return Value
Type: System.Boolean
true if the lookahead buffer contains the expected string; otherwise, false.