Click or drag to resize

XmlUtils.DeserializeNameValuePairs Method (XmlReader, Dictionary<String, String>, Boolean, String)

Deserializes name value pairs serialized with SerializeNameValuePairs.

Namespace:  SD.LLBLGen.Pro.Core.Xml
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.12.0.0 (5.12.0)
Syntax
public static void DeserializeNameValuePairs(
	XmlReader reader,
	Dictionary<string, string> container,
	bool valueIsStoredInAttribute,
	string nameAttributeName
)

Parameters

reader
Type: System.Xml.XmlReader
The reader.
container
Type: System.Collections.Generic.Dictionary<String, String>
The container to add the name-value pairs to.
valueIsStoredInAttribute
Type: System.Boolean
if true, it assumes the value is in a 'Value' attribute, otherwise it assumes the value is the elements value
nameAttributeName
Type: System.String
Name of the name attribute.
Exceptions
ExceptionCondition
XmlReadException
See Also