Export (0) Print
Expand All

CollectionBase Methods

The CollectionBase type exposes the following members.

  Name Description
Public method Supported by the XNA Framework Clear Removes all objects from the CollectionBase instance. This method cannot be overridden.
Public method Supported by the XNA Framework Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the XNA Framework GetEnumerator Returns an enumerator that iterates through the CollectionBase instance.
Public method Supported by the XNA Framework GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Supported by the XNA Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the XNA Framework OnClear Performs additional custom processes when clearing the contents of the CollectionBase instance.
Protected method Supported by the XNA Framework OnClearComplete Performs additional custom processes after clearing the contents of the CollectionBase instance.
Protected method Supported by the XNA Framework OnInsert Performs additional custom processes before inserting a new element into the CollectionBase instance.
Protected method Supported by the XNA Framework OnInsertComplete Performs additional custom processes after inserting a new element into the CollectionBase instance.
Protected method Supported by the XNA Framework OnRemove Performs additional custom processes when removing an element from the CollectionBase instance.
Protected method Supported by the XNA Framework OnRemoveComplete Performs additional custom processes after removing an element from the CollectionBase instance.
Protected method Supported by the XNA Framework OnSet Performs additional custom processes before setting a value in the CollectionBase instance.
Protected method Supported by the XNA Framework OnSetComplete Performs additional custom processes after setting a value in the CollectionBase instance.
Protected method Supported by the XNA Framework OnValidate Performs additional custom processes when validating a value.
Public method Supported by the XNA Framework RemoveAt Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
Public method Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Supported by the XNA Framework Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Supported by the XNA Framework OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  Name Description
Explicit interface implemetation Private method Supported by the XNA Framework ICollection.CopyTo Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.
Explicit interface implemetation Private method Supported by the XNA Framework IList.Add Adds an object to the end of the CollectionBase.
Explicit interface implemetation Private method Supported by the XNA Framework IList.Contains Determines whether the CollectionBase contains a specific element.
Explicit interface implemetation Private method Supported by the XNA Framework IList.IndexOf Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase.
Explicit interface implemetation Private method Supported by the XNA Framework IList.Insert Inserts an element into the CollectionBase at the specified index.
Explicit interface implemetation Private method Supported by the XNA Framework IList.Remove Removes the first occurrence of a specific object from the CollectionBase.
Top
Show:
© 2015 Microsoft