Export (0) Print
Expand All

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 following tables list the members exposed by the HybridDictionary type.

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

  Name Description
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

(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (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)
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 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

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

Community Additions

ADD
Show:
© 2014 Microsoft