SPPersistedChildCollection<T> Members
Include Protected Members
Include Inherited Members
Represents a collection of SPPersistedObject objects that have a common parent.
The SPPersistedChildCollection<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPPersistedChildCollection<T>(SPPersistedObject) | Initializes an instance of the SPPersistedChildCollection<T> class to create a collection of objects of a given type that are owned by the specified parent object. | |
SPPersistedChildCollection<T>(SPPersistedObject, Comparison<T>) | Initializes an instance of the SPPersistedChildCollection<T> class to create a collection of objects of a given type that are owned by the specified parent object and are compared by a specified delegate method. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of objects in the collection. (Inherited from SPPersistedObjectCollection<T>.) | |
IsEmpty | Gets a Boolean value that indicates whether the collection contains any objects. (Inherited from SPPersistedObjectCollection<T>.) | |
Item[Guid] | Gets the persisted object in the collection based on the specified GUID. (Inherited from SPPersistedObjectCollection<T>.) | |
Item[String] | Gets the persisted object in the collection based on the specified name. (Inherited from SPPersistedObjectCollection<T>.) | |
Parent | Gets the parent object that declares this collection. (Inherited from SPPersistedObjectCollection<T>.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an object to the collection. | |
Ensure | Adds an object to the collection and, if the object already exists, reinitializes it with the data of the existing object. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator that can be used to iterate through the collection. (Inherited from SPPersistedObjectCollection<T>.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetValue<U>() | Retrieves an object from the collection with the specified type and the default name. (Inherited from SPPersistedObjectCollection<T>.) | |
GetValue<U>(Guid) | Retrieves an object from the collection with the specified ID and type. (Inherited from SPPersistedObjectCollection<T>.) | |
GetValue<U>(String) | Retrieves an object from the collection with the specified name and type. (Inherited from SPPersistedObjectCollection<T>.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove | Deletes an object from the collection. | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | (Inherited from SPPersistedObjectCollection<T>.) |
Top