Dictionary Members
Collapse the table of content
Expand the table of content

Dictionary Members

Represents a collection of keys and values.

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

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework Dictionary Overloaded. Initializes a new instance of the Dictionary class.
Top

  Name Description
Protected method Dictionary Overloaded. Initializes a new instance of the Dictionary class.
Top

  Name Description
Public property Supported by the .NET Compact Framework Comparer Gets the IEqualityComparer that is used to determine equality of keys for the dictionary.
Public property Supported by the .NET Compact Framework Count Gets the number of key/value pairs contained in the Dictionary.
Public property Supported by the .NET Compact Framework Item Gets or sets the value associated with the specified key.
Public property Supported by the .NET Compact Framework Keys Gets a collection containing the keys in the Dictionary.
Public property Supported by the .NET Compact Framework Values Gets a collection containing the values in the Dictionary.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Adds the specified key and value to the dictionary.
Public method Supported by the .NET Compact Framework Clear Removes all keys and values from the Dictionary.
Public method Supported by the .NET Compact Framework ContainsKey Determines whether the Dictionary contains the specified key.
Public method Supported by the .NET Compact Framework ContainsValue Determines whether the Dictionary contains a specific value.
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.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetObjectData Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the Dictionary instance.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method OnDeserialization Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete.
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 value with the specified key from the Dictionary.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework TryGetValue Gets the value associated with the specified key.
Top

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

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Add Adds the specified value to the ICollection with the specified key.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Contains Determines whether the ICollection contains a specific key and value.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.CopyTo Copies the elements of the ICollection to an array of type KeyValuePair, starting at the specified array index.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove Removes a key and value from the dictionary.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>.GetEnumerator Returns an enumerator that iterates through the 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 the specified array index.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IDictionary.Add Adds the specified key and value to the dictionary.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IDictionary.Contains Determines whether the IDictionary contains an element with the specified key.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IDictionary.GetEnumerator Returns an IDictionaryEnumerator for the IDictionary.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IDictionary.Remove Removes the element with the specified key from the IDictionary.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IsReadOnly Gets a value indicating whether the dictionary is read-only.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.Generic.IDictionary<TKey,TValue>.Keys Gets an ICollection containing the keys of the IDictionary.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.Generic.IDictionary<TKey,TValue>.Values Gets an ICollection containing the values in the IDictionary.
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.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IDictionary.IsFixedSize Gets a value indicating whether the IDictionary has a fixed size.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IDictionary.IsReadOnly Gets a value indicating whether the IDictionary is read-only.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IDictionary.Item Gets or sets the value with the specified key.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IDictionary.Keys Gets an ICollection containing the keys of the IDictionary.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IDictionary.Values Gets an ICollection containing the values in the IDictionary.
Top

Community Additions

ADD
Show:
© 2016 Microsoft