Version

CollectionBase<T> Class Members

The following tables list the members exposed by CollectionBase<T>.

Public Constructors
 NameDescription
Public ConstructorCollectionBase<T> ConstructorInitializes a new instance of the CollectionBase<T> class.  
Public Properties
 NameDescription
Public PropertyCountGets the amount of items in the collection.  
Public PropertyIsReadOnlyGets whether or not the collection is read only.  
Public PropertyItemGets the item at the specified index.  
Protected Properties
 NameDescription
Protected PropertyItemsGets the unerlying collection used to store all items.  
Public Methods
 NameDescription
Public MethodAddAdds the item to the end of the collection.  
Public MethodClearRemoves all items from the collection.  
Public MethodContainsDetermines if the collection contains the specified item.  
Public MethodCopyToCopies the collection to the specified array, starting at the specified index.  
Public MethodDisposeOverloaded. Releases the unmanaged resources used by the CollectionBase<T> and optionally releases the managed resources.  
Public MethodGetEnumeratorGets the System.Collections.IEnumerator for the collection.  
Public MethodIndexOfGets the index of the specified item.  
Public MethodInsertInserts the item at the specified index.  
Public MethodRemoveRemoves the specified item.  
Public MethodRemoveAtRemoves the item at the specified index.  
Protected Methods
 NameDescription
Protected MethodAddItemAdds the item at the specified index.  
Protected MethodAddItemSilentlyAdds the item at the specified index, without triggering any events.  
Protected MethodGetCountRetrieves the amount of items in the collection.  
Protected MethodGetItemGets the item at the specified index.  
Protected MethodInsertItemAdds an item to the collection at a given index.  
Protected MethodOnItemAddedInvoked when an Item is added at the specified index.  
Protected MethodOnItemRemovedInvoked when an Item is removed from the collection.  
Protected MethodOnNotifyCollectionChangedInvoked when this collection changes.  
Protected MethodOnPropertyChangedOccurs when a property changes.  
Protected MethodOnResetItemsInvoked when all items are cleared from a collection.  
Protected MethodRemoveItemRemoves the item at the specified index.  
Protected MethodRemoveItemSilentlyRemoves the item at the specified index, without triggering any events.  
Protected MethodReplaceItemReplaces the item at the specified index with the specified item.  
Protected MethodResetItemsRemoves all items from the collection.  
Protected MethodResetItemsSilentlyRemoves all items from the collection without firing any events.  
Public Events
 NameDescription
Public EventCollectionChangedFired when the collection changes.  
See Also