Share 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)

Syntax

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

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