TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.Balance Method (BalancingModes)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Determines whether the parsing is balance.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Friend Function Balance ( _
mode As BalancingModes _
) As Boolean
'Usage
Dim mode As BalancingModes
Dim returnValue As Boolean
returnValue = Me.Balance(mode)
protected internal bool Balance(
BalancingModes mode
)
protected public:
bool Balance(
BalancingModes mode
)
member Balance :
mode:BalancingModes -> bool
function Balance(
mode : BalancingModes
) : boolean
Parameters
- mode
Type: System.Web.Razor.Parser.BalancingModes
The balancing mode.
Return Value
Type: System.Boolean
true if the parsing is balance; otherwise, false.
See Also
Reference
TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class