Condividi tramite


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

Property Value

Type: Microsoft.SharePoint.SPList
An SPList object that represents the list.

See Also

Reference

SPListCollection Class

SPListCollection Members

Item Overload

Microsoft.SharePoint Namespace