BaseCollection Methods

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The BaseCollection type exposes the following members.

Methods

  Name Description
Protected method AddRange
Public method Clear Removes all objects from the CollectionBase instance. This method cannot be overridden. (Inherited from CollectionBase.)
Public method Contains
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the CollectionBase instance. (Inherited from CollectionBase.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Insert
Protected method InsertRange
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnClear (Overrides CollectionBase.OnClear().)
Protected method OnClearComplete (Overrides CollectionBase.OnClearComplete().)
Protected method OnInsert (Overrides CollectionBase.OnInsert(Int32, Object).)
Protected method OnInsertComplete (Overrides CollectionBase.OnInsertComplete(Int32, Object).)
Protected method OnItemsAdded
Protected method OnItemsRemoved
Protected method OnRemove (Overrides CollectionBase.OnRemove(Int32, Object).)
Protected method OnRemoveComplete (Overrides CollectionBase.OnRemoveComplete(Int32, Object).)
Protected method OnSet (Overrides CollectionBase.OnSet(Int32, Object, Object).)
Protected method OnSetComplete (Overrides CollectionBase.OnSetComplete(Int32, Object, Object).)
Protected method OnValidate (Overrides CollectionBase.OnValidate(Object).)
Public method RemoveAt Removes the element at the specified index of the CollectionBase instance. This method is not overridable. (Inherited from CollectionBase.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Add Adds an object to the end of the CollectionBase. (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Contains Determines whether the CollectionBase contains a specific element. (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.IndexOf Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase. (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Insert Inserts an element into the CollectionBase at the specified index. (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Remove Removes the first occurrence of a specific object from the CollectionBase. (Inherited from CollectionBase.)

Top

See Also

Reference

BaseCollection Class

Microsoft.ManagementConsole Namespace