StringMap Class |
Namespace: NetQuarry
The StringMap type exposes the following members.
Name | Description | |
---|---|---|
StringMap |
Default constructor.
| |
StringMap(Hashtable) |
Populate the collection from the specified hash table.
This can be used to construct the collection using OpenHashtable(String) |
Name | Description | |
---|---|---|
comparer | Obsolete. (Inherited from Hashtable.) | |
Count | Gets the number of key/value pairs contained in the Hashtable. (Inherited from Hashtable.) | |
Criteria |
Criteria for the current values in the collection.
Use of this property is left to the caller who may use this for any purpose
such as to determine whether or not the collection needs to be refreshed.
| |
EqualityComparer | Gets the IEqualityComparer to use for the Hashtable. (Inherited from Hashtable.) | |
hcp | Obsolete. Gets or sets the object that can dispense hash codes. (Inherited from Hashtable.) | |
IsFixedSize | Gets a value indicating whether the Hashtable has a fixed size. (Inherited from Hashtable.) | |
IsReadOnly | Gets a value indicating whether the Hashtable is read-only. (Inherited from Hashtable.) | |
IsSynchronized | Gets a value indicating whether access to the Hashtable is synchronized (thread safe). (Inherited from Hashtable.) | |
ItemObject | Gets or sets the value associated with the specified key. (Inherited from Hashtable.) | |
ItemString | StringMap indexer. | |
Keys | Gets an ICollection containing the keys in the Hashtable. (Inherited from Hashtable.) | |
SyncRoot | Gets an object that can be used to synchronize access to the Hashtable. (Inherited from Hashtable.) | |
Values | Gets an ICollection containing the values in the Hashtable. (Inherited from Hashtable.) |
Name | Description | |
---|---|---|
Add(Object, Object) | Add a new string to the map or replace existing with same key. | |
Add(String, String) | Add a new string to the map or replace existing with same key. | |
Clear | Removes all elements from the Hashtable. (Inherited from Hashtable.) | |
Clone | Creates a shallow copy of the Hashtable. (Inherited from Hashtable.) | |
Contains |
Determines if the collection contains the specified key.
(Overrides HashtableContains(Object).) | |
ContainsKey |
Determines if the collection contains the specified key.
(Overrides HashtableContainsKey(Object).) | |
ContainsValue | Determines whether the Hashtable contains a specific value. (Inherited from Hashtable.) | |
CopyTo | (Inherited from Hashtable.) | |
Equals | (Inherited from Object.) | |
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.) | |
GetEnumerator | Returns an IDictionaryEnumerator that iterates through the Hashtable. (Inherited from Hashtable.) | |
GetHash | Returns the hash code for the specified key. (Inherited from Hashtable.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the Hashtable. (Inherited from Hashtable.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
KeyEquals | (Inherited from Hashtable.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from Hashtable.) | |
Remove | Remove an existing string from the map with no effect if not present. (Overrides HashtableRemove(Object).) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |