TokenizerBackedParser(Of TTokenizer, TSymbol, TSymbolType).Required Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Determines whether the expected token is required.
Assembly: System.Web.Razor (in System.Web.Razor.dll)
'Declaration Protected Friend Function Required ( _ expected As TSymbolType, _ errorIfNotFound As Boolean, _ errorBase As String _ ) As Boolean 'Usage Dim expected As TSymbolType Dim errorIfNotFound As Boolean Dim errorBase As String Dim returnValue As Boolean returnValue = Me.Required(expected, _ errorIfNotFound, errorBase)
Parameters
- expected
- Type: TSymbolType
The expected token.
- errorIfNotFound
- Type: System.Boolean
true to display an error if not found; otherwise, false.
- errorBase
- Type: System.String
The error base.
Show: