SPPersistedObjectCollection<T> members
Provides a base class for collections that manage SPPersistedObject objects.
The SPPersistedObjectCollection<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPPersistedObjectCollection<T>(SPPersistedObject) | Initializes a new instance of the SPPersistedObjectCollection<T> class based on the specified object. | |
SPPersistedObjectCollection<T>(SPPersistedObject, Comparison<T>) | Creates a sorted collection of objects with a given type which are owned by the collection's parent. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of objects in the collection. | |
IsEmpty | Gets a Boolean value that indicates whether the collection contains any objects. | |
Item[Guid] | Gets the persisted object in the collection based on the specified GUID. | |
Item[String] | Gets the persisted object in the collection based on the specified name. | |
Parent | Gets the parent object that declares this collection. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator that can be used to iterate through the collection. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetValue<U>() | Retrieves an object from the collection with the specified type and the default name. | |
GetValue<U>(Guid) | Retrieves an object from the collection with the specified ID and type. | |
GetValue<U>(String) | Retrieves an object from the collection with the specified name and type. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Returns an enumerator over all items in this list. |
Top