The OwnedCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddInt |
For internal use.
|
|
AssignFrom |
Clears the current collection, and copies the items from another one.
The items are copied by cloning, and must support the ICloneable
interface (if an item that does not support is encountered, an exception occurs).
|
|
Clear |
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.) |
|
Exchange |
Swap two items in collection.
|
|
GetByIndex |
For internal use.
|
|
GetEnumerator |
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.) |
|
GetItemType |
Gets the type of items in the collection.
If this method returns null, items of different types can be added to the collection.
Otherwise, only items of the type this method returns can be added.
|
|
IndexOf |
Searches for the specified Object and returns the zero-based index
of the first occurrence within the entire collection.
|
|
InsertInt |
For internal use.
|
|
OnClear |
Called when the collection is about to be cleared.
(Overrides CollectionBase..::..OnClear()()()().) |
|
OnClearComplete |
Called after the collection has been cleared.
(Overrides CollectionBase..::..OnClearComplete()()()().) |
|
OnInsert |
Called when an item is about to be iserted.
(Overrides CollectionBase..::..OnInsert(Int32, Object).) |
|
OnInsertComplete |
Called after an item has been inserted.
(Overrides CollectionBase..::..OnInsertComplete(Int32, Object).) |
|
OnRemove |
Called when an item is about to be removed.
(Overrides CollectionBase..::..OnRemove(Int32, Object).) |
|
OnRemoveComplete |
Called after an item has been removed.
(Overrides CollectionBase..::..OnRemoveComplete(Int32, Object).) |
|
OnSet |
Called when an item is about to be set.
(Overrides CollectionBase..::..OnSet(Int32, Object, Object).) |
|
OnSetComplete |
Called after an item has been set.
(Overrides CollectionBase..::..OnSetComplete(Int32, Object, Object).) |
|
OnValidate |
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.) |
|
RemoveAt |
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.) |
|
RemoveInt |
For internal use.
|
|
SetByIndex |
For internal use.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList..::..Add |
Adds an object to the end of the CollectionBase.
(Inherited from CollectionBase.) |
|
IList..::..Contains |
Determines whether the CollectionBase contains a specific element.
(Inherited from CollectionBase.) |
|
ICollection..::..CopyTo |
Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionBase.) |
|
IList..::..IndexOf |
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase.
(Inherited from CollectionBase.) |
|
IList..::..Insert |
Inserts an element into the CollectionBase at the specified index.
(Inherited from CollectionBase.) |
|
IList..::..Remove |
Removes the first occurrence of a specific object from the CollectionBase.
(Inherited from CollectionBase.) |