SPContext.ViewContext Property

Gets a view context object that provides information about the current view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property ViewContext As SPViewContext
    Get
'Usage
Dim instance As SPContext
Dim value As SPViewContext

value = instance.ViewContext
public SPViewContext ViewContext { get; }

Property Value

Type: Microsoft.SharePoint.SPViewContext
An SPViewContext object that provides information about the view.

See Also

Reference

SPContext Class

SPContext Members

Microsoft.SharePoint Namespace