Class SerializableDictionaryTKeyTValue
SerializableDictionary<TKey,TValue> class
Represents a serializable custom dictionary collection of keys and values.
public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, IXmlSerializable
Parameter |
Description |
TKey |
The type of the keys in the dictionary. |
TValue |
The type of the values in the dictionary. |
Constructors
Name |
Description |
SerializableDictionary() |
Initializes a new instance of the SerializableDictionary class that is empty, has the default initial capacity, and uses the default equality comparer for the key type. |
Methods
Name |
Description |
GetObjectData(SerializationInfo, StreamingContext) |
Serialize dictionary as a list of key-value pairs |
GetSchema() |
Returns XML Scema of the collection |
ReadXml(XmlReader) |
Reads collection data from the given reader XmlReader |
WriteXml(XmlWriter) |
Writes collection data to given writer XmlWriter |
See Also