#ShapeCollection
##Properties
| Datatype | Property name | Property description | Default Value |
|---|---|---|---|
| IEqualityComparer | Comparer | Gets the System.Collections.Generic.IEqualityComparer that is used to determine equality of keys for the dictionary. | null |
| Int32 | Count | Gets the number of key/value pairs contained in the System.Collections.Generic.Dictionary. | 0 |
| String | Item | null | |
| KeyCollection | Keys | Gets a collection containing the keys in the System.Collections.Generic.Dictionary. | null |
| ValueCollection | Values | Gets a collection containing the values in the System.Collections.Generic.Dictionary. | null |
##Methods
###Add(System.String,System.String)
Parameters:
- System.String key
- System.String value
###Clear() Removes all keys and values from the System.Collections.Generic.Dictionary.
###ContainsKey(System.String)
Parameters:
- System.String key
###ContainsValue(System.String) Determines whether the System.Collections.Generic.Dictionary contains a specific value.
Parameters:
- System.String value - The value to locate in the System.Collections.Generic.Dictionary. The value can be null for reference types.
Returns:
true if the System.Collections.Generic.Dictionary contains an element with the specified value; otherwise, false.
###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.
Parameters:
- System.Object obj - The System.Object to compare with the current System.Object.
Returns:
true if the specified System.Object is equal to the current System.Object; otherwise, false.
###GetEnumerator() Returns an enumerator that iterates through the System.Collections.Generic.Dictionary.
Returns:
A System.Collections.Generic.Enumerator structure for the System.Collections.Generic.Dictionary.
###GetHashCode() Serves as a hash function for a particular type.
Returns:
A hash code for the current System.Object.
###GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the System.Collections.Generic.Dictionary instance.
Parameters:
- System.Runtime.Serialization.SerializationInfo info - A System.Runtime.Serialization.SerializationInfo object that contains the information required to serialize the System.Collections.Generic.Dictionary instance.
- System.Runtime.Serialization.StreamingContext context - A System.Runtime.Serialization.StreamingContext structure that contains the source and destination of the serialized stream associated with the System.Collections.Generic.Dictionary instance.
###GetType() Gets the System.Type of the current instance.
Returns:
The System.Type instance that represents the exact runtime type of the current instance.
###OnDeserialization(System.Object) Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete.
Parameters:
- System.Object sender - The source of the deserialization event.
###Remove(System.String)
Parameters:
- System.String key
###ToString() Returns a System.String that represents the current System.Object.
Returns:
A System.String that represents the current System.Object.
###TryGetValue(System.String,out System.String)
Parameters:
- System.String key
- out System.String value
