Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VBCodeParser.AssertDirective Method

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

Asserts the given directive.

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

[ConditionalAttribute("DEBUG")]
protected void AssertDirective(
	string directive
)

Parameters

directive
Type: System.String
The directive to assert.
Show:
© 2015 Microsoft