Метод | Описание | |
---|---|---|
Deserialize ( |
Deserializes the XElement to the dictionary (e.g. Dictionary
|
|
Serialize ( object value, string name, string elementNames, string keyNames, string valueNames, XmlConvertOptions options ) : System.Xml.Linq.XElement |
Serializes a dictionary (e.g. List
|
public static Deserialize ( |
||
type | The type of the dictionary to deserialize. | |
parentElement | System.Xml.Linq.XElement | The parent XElement used to deserialize the dictionary. |
options | XmlConvertOptions | Indicates how the output is deserialized. |
Результат | object |
public static Serialize ( object value, string name, string elementNames, string keyNames, string valueNames, XmlConvertOptions options ) : System.Xml.Linq.XElement | ||
value | object | The dictionary to serialize. |
name | string | The name of the dictionary to serialize. |
elementNames | string | The custom name of collection elements. |
keyNames | string | The optional custom name of dictionary key elements. |
valueNames | string | The optional custom name of dictionary value elements. |
options | XmlConvertOptions | Indicates how the output is formatted or serialized. |
Результат | System.Xml.Linq.XElement |