Share via


VBCodeParser.LayoutDirective 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 a layout directive.

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

Syntax

'Declaration
Protected Overridable Function LayoutDirective As Boolean
'Usage
Dim returnValue As Boolean 

returnValue = Me.LayoutDirective()
protected virtual bool LayoutDirective()
protected:
virtual bool LayoutDirective()
abstract LayoutDirective : unit -> bool  
override LayoutDirective : unit -> bool
protected function LayoutDirective() : boolean

Return Value

Type: System.Boolean
true if the code is a layout directive; otherwise, false.

See Also

Reference

VBCodeParser Class

System.Web.Razor.Parser Namespace