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