This documentation is archived and is not being maintained.

HybridDictionary Members

Implements IDictionary by using a ListDictionary while the collection is small, and then switching to a Hashtable when the collection gets large.

The HybridDictionary type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework HybridDictionary Overloaded. Initializes a new instance of the HybridDictionary class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Add Adds an entry with the specified key and value into the HybridDictionary.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clear Removes all entries from the HybridDictionary.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Contains Determines whether the HybridDictionary contains a specific key.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CopyTo Copies the HybridDictionary entries to a one-dimensional Array instance at the specified index.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEnumerator Returns an IDictionaryEnumerator that iterates through the HybridDictionary.
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.)
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.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Remove Removes the entry with the specified key from the HybridDictionary.
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

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Count Gets the number of key/value pairs contained in the HybridDictionary.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsFixedSize Gets a value indicating whether the HybridDictionary has a fixed size.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsReadOnly Gets a value indicating whether the HybridDictionary is read-only.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsSynchronized Gets a value indicating whether the HybridDictionary is synchronized (thread safe).
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Item Gets or sets the value associated with the specified key.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Keys Gets an ICollection containing the keys in the HybridDictionary.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework SyncRoot Gets an object that can be used to synchronize access to the HybridDictionary.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Values Gets an ICollection containing the values in the HybridDictionary.
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IEnumerable.GetEnumerator Returns an IEnumerator that iterates through the HybridDictionary.
Top
Show: