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.3.0.0 (5.3.0)
Syntax public static void DeserializeNameValuePairs(
XmlReader reader,
Dictionary<string, string> container,
bool valueIsStoredInAttribute,
string nameAttributeName
)
Public Shared Sub DeserializeNameValuePairs (
reader As XmlReader,
container As Dictionary(Of String, String),
valueIsStoredInAttribute As Boolean,
nameAttributeName As String
)
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 See Also