다음을 통해 공유


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

Syntax

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

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

Parameters

  • 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

Reference

SPPersistedObjectCollection<T> Class

SPPersistedObjectCollection<T> Members

Item Overload

Microsoft.SharePoint.Administration Namespace