SPPersistedObjectCollection<T>.Item Property (String)

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

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


Public Overridable ReadOnly Default Property Item ( _
    name As String _
) As T
Dim instance As SPPersistedObjectCollection
Dim name As String
Dim value As T

value = instance(name)
public virtual T this[
    string name
] { get; }


  • name
    Type: System.String

    A string that contains the name of the object.

Property Value

Type: T
A type that represents the persisted object.

See Also


SPPersistedObjectCollection<T> Class

SPPersistedObjectCollection<T> Members

Item Overload

Microsoft.SharePoint.Administration Namespace