Condividi tramite


SPView.ID Property

Gets the GUID that identifies the view.

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

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotEmpty)> _
<ClientCallableAttribute(Name := "Id")> _
Public ReadOnly Property ID As Guid
    Get
'Usage
Dim instance As SPView
Dim value As Guid

value = instance.ID
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotEmpty)]
[ClientCallableAttribute(Name = "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