Share via


SPView.ID property

Gets the GUID that identifies the view.

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

Syntax

'Declaration
Public ReadOnly Property ID As Guid
    Get
'Usage
Dim instance As SPView
Dim value As Guid

value = instance.ID
public Guid ID { get; }

Property value

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

Remarks

Returns Empty if the view has not been added to the collection of views for the list.

See also

Reference

SPView class

SPView members

Microsoft.SharePoint namespace