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)
Syntax
'Declaration
Protected Function TakeAll ( _
expected As String, _
caseSensitive As Boolean _
) As Boolean
'Usage
Dim expected As String
Dim caseSensitive As Boolean
Dim returnValue As Boolean
returnValue = Me.TakeAll(expected, _
caseSensitive)
protected bool TakeAll(
string expected,
bool caseSensitive
)
protected:
bool TakeAll(
String^ expected,
bool caseSensitive
)
member TakeAll :
expected:string *
caseSensitive:bool -> bool
protected function TakeAll(
expected : String,
caseSensitive : boolean
) : boolean
Parameters
- expected
Type: System.String
The string to match.
- 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.