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 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 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 Item Overloaded. Gets the element with the specified key.
Top

  Name Description
Protected property Supported by the .NET Compact 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 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 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 GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact 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 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 ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework ChangeItemKey Changes the key associated with the specified element in the lookup dictionary.
Protected method Supported by the .NET Compact Framework ClearItems Overridden. Removes all elements from the KeyedCollection.
Protected method Supported by the .NET Compact 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 GetKeyForItem When implemented in a derived class, extracts the key from the specified element.
Protected method Supported by the .NET Compact Framework InsertItem Overloaded. Inserts an element into the KeyedCollection at the specified index.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method Supported by the .NET Compact Framework RemoveItem Overridden. Removes the element at the specified index of the KeyedCollection.
Protected method Supported by the .NET Compact Framework SetItem Overloaded. Replaces the item at the specified index with the specified item.
Top

Community Additions

ADD
Show:
© 2014 Microsoft