Share via


SPViewContext.ViewId property

Gets the identifier of the view that is described by the view context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ViewId As Guid
    Get
    Friend Set
'Usage
Dim instance As SPViewContext
Dim value As Guid

value = instance.ViewId
public Guid ViewId { get; internal set; }

Property value

Type: System.Guid
A GUID that identifies the view.

See also

Reference

SPViewContext class

SPViewContext members

Microsoft.SharePoint namespace