Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Tokenizer<TSymbol, TSymbolType>.TakeAll Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Takes the string if found in the lookahead buffer into the tokenizer buffer.

Namespace:  System.Web.Razor.Tokenizer
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected bool TakeAll(
	string expected,
	bool caseSensitive


Type: System.String
The string to match.
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.
© 2015 Microsoft