Click or drag to resize

XmlUtilsDeserializeNameValuePairs Method (XmlReader, DictionaryString, String, Boolean)

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.6.0.0 (5.6.19.0117)
Syntax
public static void DeserializeNameValuePairs(
	XmlReader reader,
	Dictionary<string, string> container,
	bool valueIsStoredInAttribute
)

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
Exceptions
ExceptionCondition
XmlReadException
See Also