SortedDictionary.KeyCollection Members

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

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

  Name Description
Public method SortedDictionary.KeyCollection Initializes a new instance of the SortedDictionary.KeyCollection class that reflects the keys in the specified SortedDictionary.
Top

  Name Description
Public property Count Gets the number of elements contained in the SortedDictionary.KeyCollection.
Top

(see also Protected Methods )
  Name Description
Public method CopyTo Copies the SortedDictionary.KeyCollection elements to an existing one-dimensional array, starting at the specified array index.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetEnumerator Returns an enumerator that iterates through the SortedDictionary.KeyCollection.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method 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 MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

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

Community Additions

ADD
Show: