Export (0) Print
Expand All

KeyedCollection Members

Provides the abstract base class for a collection whose keys are embedded in the values.

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

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

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Comparer Gets the generic equality comparer that is used to determine equality of keys in the collection.
Public property Supported by the .NET Compact Framework Count  Gets the number of elements actually contained in the Collection.(inherited from Collection)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Item Overloaded. Gets the element with the specified key.
Top

  Name Description
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework Dictionary Gets the lookup dictionary of the KeyedCollection.
Protected property Supported by the .NET Compact Framework Items  Gets a IList wrapper around the Collection.(inherited from Collection)
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add  Adds an object to the end of the Collection. (inherited from Collection)
Public method Supported by the .NET Compact Framework Clear  Removes all elements from the Collection. (inherited from Collection)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Contains Determines whether the collection contains an element with the specified key.
Public method Supported by the .NET Compact Framework CopyTo  Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. (inherited from Collection)
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 GetEnumerator  Returns an enumerator that iterates through the Collection. (inherited from 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 IndexOf  Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (inherited from Collection)
Public method Supported by the .NET Compact Framework Insert  Inserts an element into the Collection at the specified index. (inherited from Collection)
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 element with the specified key from the KeyedCollection.
Public method Supported by the .NET Compact Framework RemoveAt  Removes the element at the specified index of the Collection. (inherited from 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 ChangeItemKey Changes the key associated with the specified element in the lookup dictionary.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework ClearItems Overridden. Removes all elements from the KeyedCollection.
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 GetKeyForItem When implemented in a derived class, extracts the key from the specified element.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework InsertItem Overloaded. Inserts an element into the KeyedCollection 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 Overridden. Removes the element at the specified index of the KeyedCollection.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework SetItem Overloaded. Replaces the item at the specified index with the specified item.
Top

Community Additions

ADD
Show:
© 2014 Microsoft