Class SerializableDictionaryTKeyTValue
Leave feedback
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.
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.
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
We value your opinion. Your feedback will help us improve our documentation.