SPList.ID Property

Gets the GUID that identifies the list in the database.

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


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

value = instance.ID
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotEmpty)]
[ClientCallableAttribute(Name = "Id")]
public Guid ID { get; }

Property Value

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

See Also


SPList Class

SPList Members

Microsoft.SharePoint Namespace