Click or drag to resize

XmlUtilsDeserializeNameValuePairs Method (XmlReader, DictionaryString, 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.4.0.0 (5.4.0)
Syntax
public static void DeserializeNameValuePairs(
	XmlReader reader,
	Dictionary<string, string> container,
	bool valueIsStoredInAttribute,
	string nameAttributeName
)

Parameters

reader
Type: System.XmlXmlReader
The reader.
container
Type: System.Collections.GenericDictionaryString, String
The container to add the name-value pairs to.
valueIsStoredInAttribute
Type: SystemBoolean
if true, it assumes the value is in a 'Value' attribute, otherwise it assumes the value is the elements value
nameAttributeName
Type: SystemString
Name of the name attribute.
Exceptions
ExceptionCondition
XmlReadException
See Also