VBCodeParser.Required(VBSymbolType, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the expected symbol is required.
protected bool Required(System.Web.Razor.Tokenizer.Symbols.VBSymbolType expected, string errorBase);
override this.Required : System.Web.Razor.Tokenizer.Symbols.VBSymbolType * string -> bool
Protected Function Required (expected As VBSymbolType, errorBase As String) As Boolean
Parameters
- expected
- VBSymbolType
The expected symbol.
- errorBase
- String
The error base.
Returns
true if the expected symbol is required; otherwise, false.