StringDictionary Constructor |
Initializes a new instance of the StringDictionary class. |
Count |
Gets the number of key-and-value pairs in the StringDictionary. |
IsSynchronized |
Gets a value that indicates whether access to the StringDictionary is synchronized (thread-safe). |
Item |
Gets or sets the value associated with the specified key.
In C#, this property is the indexer for the StringDictionary class. |
Keys |
Gets a collection of keys in the StringDictionary. |
SyncRoot |
Gets an object that can be used to synchronize access to the StringDictionary. |
Values |
Gets a collection of values in the StringDictionary. |
Add |
Adds an entry with the specified key and value into the StringDictionary. |
Clear |
Removes all entries from the StringDictionary. |
ContainsKey |
Determines if the StringDictionary contains a specific key. |
ContainsValue |
Determines if the StringDictionary contains a specific value. |
CopyTo |
Copies the string dictionary values to a one-dimensional Array instance at the specified index. |
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
GetEnumerator |
Returns an enumerator that can iterate through the string dictionary. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
Remove |
Removes the entry with the specified key from the string dictionary. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Finalize (inherited from Object) |
Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
StringDictionary Class | System.Collections.Specialized Namespace