VBCodeParser.SessionStateDirective Method

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

Determines whether the code has a session state directive.

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

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

returnValue = Me.SessionStateDirective()

Return Value

Type: System.Boolean
true if the code has a session state directive; otherwise, false.
Show: