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)

protected bool At(
	string expected,
	bool caseSensitive
)

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.
Show: