The following tables list the members exposed by KeyedObjectCollectionBase.
Name | Description | |
---|---|---|
All | The collection as an array of objects | |
Capacity | Gets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase) | |
Count | Gets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase) | |
IsReadOnly | Returns true if the collection is read-only | |
Owner | Provides public access to the owning object of this collection |
Name | Description | |
---|---|---|
InnerList | Gets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
List | Gets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) |
Name | Description | |
---|---|---|
Clear | Removes all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase) | |
Contains | Returns true if the collection contains this item | |
CopyTo | Copies the items into the array | |
Exists | Returns true if an object with this key is already in the collection. Note, if key is null or a zero length string this method returns false | |
GetEnumerator | Returns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
GetItem | Overloaded. Virtual method that returns the object at the specified index | |
IndexOf | Overloaded. Returns the index of the item in the collection that has the passed in key or -1 if key not found. | |
RemoveAt | Removes the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. (Inherited from System.Collections.CollectionBase) | |
ValidateKeyDoesNotExist | Overloaded. Throws an DuplicateNameException if the key already exists |
Name | Description | |
---|---|---|
CreateArray | Virtual method used by the All 'get' method to create the array it returns. | |
InternalAdd | Appends the object to the collection | |
InternalClear | Clears the collection | |
InternalInsert | Inserts an object into the collection | |
InternalRemove | Removes an item from the collection | |
InternalRemoveAt | Removes an item from the collection | |
OnClear | Performs additional custom processes when clearing the contents of the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
OnClearComplete | Performs additional custom processes after clearing the contents of the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
OnInsert | Performs additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
OnInsertComplete | Performs additional custom processes after inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
OnRemove | Performs additional custom processes when removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
OnRemoveComplete | Performs additional custom processes after removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
OnSet | Performs additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
OnSetComplete | Performs additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
OnValidate | Performs additional custom processes when validating a value. (Inherited from System.Collections.CollectionBase) |