VBCodeParser.Required(VBSymbolType, String) Method

Definition

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.

Applies to