次の方法で共有


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)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    uniqueID As Guid _
) As SPList
    Get
'Usage
Dim instance As SPListCollection
Dim uniqueID As Guid
Dim value As SPList

value = instance(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