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)
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.