This documentation is archived and is not being maintained.

Dictionary.KeyCollection Members

Represents the collection of keys in a Dictionary. This class cannot be inherited.

The following tables list the members exposed by the Dictionary.KeyCollection generic type.

  Name Description
Public method Supported by the .NET Compact Framework Dictionary.KeyCollection Initializes a new instance of the Dictionary.KeyCollection class that reflects the keys in the specified Dictionary.
Top

  Name Description
Public property Supported by the .NET Compact Framework Count Gets the number of elements contained in the Dictionary.KeyCollection.
Top

  Name Description
Public method Supported by the .NET Compact Framework CopyTo Copies the Dictionary.KeyCollection elements to an existing one-dimensional Array, starting at the specified array index.
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 Dictionary.KeyCollection.
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 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 ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.ICollection<TKey>.Add Adds an item to the ICollection. This implementation always throws NotSupportedException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.ICollection<TKey>.Clear Removes all items from the ICollection. This implementation always throws NotSupportedException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.ICollection<TKey>.Contains Determines whether the ICollection contains a specific value.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.ICollection<TKey>.Remove Removes the first occurrence of a specific object from the ICollection. This implementation always throws NotSupportedException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.IEnumerable<TKey>.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.ICollection.CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.Generic.ICollection<TKey>.IsReadOnly Gets a value indicating whether the ICollection is read-only.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the ICollection.
Top
Show: