다음을 통해 공유


SPPersistedObjectCollection<T> Members

Include Protected Members
Include Inherited Members

Provides a base class for collections that manage SPPersistedObject objects.

The SPPersistedObjectCollection<T> type exposes the following members.

Constructors

  Name Description
Protected method SPPersistedObjectCollection<T>(SPPersistedObject) Initializes a new instance of the SPPersistedObjectCollection<T> class based on the specified object.
Protected method SPPersistedObjectCollection<T>(SPPersistedObject, Comparison<T>)

Top

Properties

  Name Description
Public property Count Gets the number of objects in the collection.
Public property IsEmpty Gets a Boolean value that indicates whether the collection contains any objects.
Public property Item[Guid] Gets the persisted object in the collection based on the specified GUID.
Public property Item[String] Gets the persisted object in the collection based on the specified name.
Protected property Parent Gets the parent object that declares this collection.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that can be used to iterate through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue<U>() Retrieves an object from the collection with the specified type and the default name.
Public method GetValue<U>(Guid) Retrieves an object from the collection with the specified ID and type.
Public method GetValue<U>(String) Retrieves an object from the collection with the specified name and type.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator

Top

See Also

Reference

SPPersistedObjectCollection<T> Class

Microsoft.SharePoint.Administration Namespace