VBCodeParser.Required Method (VBSymbolType, String)

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.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected bool Required(
	VBSymbolType expected,
	string errorBase
)

Parameters

expected
Type: System.Web.Razor.Tokenizer.Symbols.VBSymbolType
The expected symbol.
errorBase
Type: System.String
The error base.

Return Value

Type: System.Boolean
true if the expected symbol is required; otherwise, false.
Show: