Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsDirectiveDefined Method

VBCodeParser.IsDirectiveDefined Method

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

Determines whether the code is directive defined.

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

public bool IsDirectiveDefined(
	string directive


Type: System.String
The directive.

Return Value

Type: System.Boolean
true if the code is directive defined; otherwise, false.
© 2015 Microsoft