SPListCollection.Item Property (Guid)
Gets the list object from the collection that has the specified GUID.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Item ( _
uniqueID As Guid _
) As SPList
Get
'Usage
Dim instance As SPListCollection
Dim uniqueID As Guid
Dim value As SPList
value = instance.Item(uniqueID)
public SPList this[
Guid uniqueID
] { get; }
Parameters
uniqueID
Type: System.GuidThe ID of a list to get.
Property Value
Type: Microsoft.SharePoint.SPList
An SPList object that represents the list.