Export (0) Print
Expand All

Collection Members

Provides the base class for a generic collection.

The following tables list the members exposed by the Collection generic type.

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Collection Overloaded. Initializes a new instance of the Collection class.
Top

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Count Gets the number of elements actually contained in the Collection.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Item Gets or sets the element at the specified index.
Top

  Name Description
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework Items Gets a IList wrapper around the Collection.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Add Adds an object to the end of the Collection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clear Removes all elements from the Collection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Contains Determines whether an element is in the Collection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CopyTo Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEnumerator Returns an enumerator that iterates through the Collection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IndexOf Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Insert Inserts an element into the Collection at the specified index.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Remove Removes the first occurrence of a specific object from the Collection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework RemoveAt Removes the element at the specified index of the Collection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework ClearItems Removes all elements from the Collection.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework 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)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework InsertItem Inserts an element into the Collection at the specified index.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework RemoveItem Removes the element at the specified index of the Collection.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework SetItem Replaces the element at the specified index.
Top

Community Additions

ADD
Show:
© 2014 Microsoft