Share via


VBCodeParser.ImportsStatement Method

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

Determines whether the code imports a statement.

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

Syntax

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

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

Return Value

Type: System.Boolean
true if the code imports a statement; otherwise, false.

See Also

Reference

VBCodeParser Class

System.Web.Razor.Parser Namespace