TokenizerBackedParser(Of TTokenizer, TSymbol, TSymbolType).Was Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Determines whether the token with the given type was parsed.

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

'Declaration
Protected Friend Function Was ( _
	type As TSymbolType _
) As Boolean
'Usage
Dim type As TSymbolType
Dim returnValue As Boolean 

returnValue = Me.Was(type)

Parameters

type
Type: TSymbolType
The type of the token.

Return Value

Type: System.Boolean
true if the token with the given type was parsed; otherwise, false.
Show: