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)
Available in Sandboxed Solutions: No

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