XmlData GetDescendantValue Method Delta Engine Documentation

Namespace: DeltaEngine.Content.Xml
Assembly: DeltaEngine.Content.Xml (in DeltaEngine.Content.Xml.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public string GetDescendantValue(
	string attributeName
)

Return Value

Type: String
Remarks

Tests: DeltaEngine.Content.Xml.Tests.XmlDataTests
Examples

1 unit tests call DeltaEngine.Content.Xml.XmlData.GetDescendantValue(System.String)
[Test]
public void GetDescendantValue()
{
    XmlData root = CreateDeepTestXmlData();
    Assert.AreEqual("Value5", root.GetDescendantValue("Attr5"));
    Assert.AreEqual("", root.GetDescendantValue("Attr6"));
}
See Also