Share via


ViewStartPage.ViewContext Property

When implemented in a derived class, gets the view context for the view start page.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public ReadOnly Property ViewContext As ViewContext
'Usage
Dim instance As ViewStartPage
Dim value As ViewContext

value = instance.ViewContext
public ViewContext ViewContext { get; }
public:
virtual property ViewContext^ ViewContext {
    ViewContext^ get () sealed;
}
final function get ViewContext () : ViewContext

Property Value

Type: System.Web.Mvc.ViewContext
The view context for the view start page.

See Also

Reference

ViewStartPage Class

System.Web.Mvc Namespace