Namespace: DeltaEngine.Content.Xml
Assembly: DeltaEngine.Content.Xml (in DeltaEngine.Content.Xml.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Content.Xml.Tests.XmlDataTests
1 unit tests call DeltaEngine.Content.Xml.XmlData.GetAttributesAsDictionary
Assembly: DeltaEngine.Content.Xml (in DeltaEngine.Content.Xml.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Return Value
Type: Dictionary String, StringRemarks
Examples
[Test] public void GetAttributesAsDictionary() { XmlData root = CreateDeepTestXmlData(); var dict = root.Children[0].GetAttributesAsDictionary(); Assert.AreEqual(2, dict.Count); Assert.AreEqual("Value1", dict["Attr1"]); Assert.AreEqual("Value2", dict["Attr2"]); }
See Also