Export (0) Print
Expand All

StringDictionary Members

Implements a hash table with the key and the value strongly typed to be strings rather than objects.

The following tables list the members exposed by the StringDictionary type.

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework StringDictionary Initializes a new instance of the StringDictionary 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 in the StringDictionary.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsSynchronized Gets a value indicating whether access to the StringDictionary 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 a collection of keys in the StringDictionary.
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 StringDictionary.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Values Gets a collection of values in the StringDictionary.
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 StringDictionary.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clear Removes all entries from the StringDictionary.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ContainsKey Determines if the StringDictionary contains a specific key.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ContainsValue Determines if the StringDictionary contains a specific value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CopyTo Copies the string dictionary values 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 enumerator that iterates through the string dictionary.
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 string dictionary.
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