Compartilhar via


SPPersistedObjectCollection<T>.Item Property (Guid)

Gets the persisted object in the collection based on the specified GUID.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    objId As Guid _
) As T
    Get
'Usage
Dim instance As SPPersistedObjectCollection
Dim objId As Guid
Dim value As T

value = instance(objId)
public T this[
    Guid objId
] { get; }

Parameters

  • objId
    Type: System.Guid

    A System.Guid object that identifies the persisted object.

Property Value

Type: T
A type that represents the persisted object.

See Also

Reference

SPPersistedObjectCollection<T> Class

SPPersistedObjectCollection<T> Members

Item Overload

Microsoft.SharePoint.Administration Namespace