VBCodeParser.Assert Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Checks for a condition and displays a keyword in the code.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
<ConditionalAttribute("DEBUG")> _
Protected Sub Assert ( _
keyword As VBKeyword _
)
'Usage
Dim keyword As VBKeyword
Me.Assert(keyword)
[ConditionalAttribute("DEBUG")]
protected void Assert(
VBKeyword keyword
)
[ConditionalAttribute(L"DEBUG")]
protected:
void Assert(
VBKeyword keyword
)
[<ConditionalAttribute("DEBUG")>]
member Assert :
keyword:VBKeyword -> unit
protected function Assert(
keyword : VBKeyword
)
Parameters
- keyword
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The keyword.