XmlDataTests ClearAttributes Method Delta Engine Documentation

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

public void ClearAttributes()
Examples

[Test]
public void ClearAttributes()
{
    XmlData root = CreateShallowTestXmlData();
    XmlData child = root.Children[0];
    Assert.AreEqual(2, child.Attributes.Count);
    child.ClearAttributes();
    Assert.AreEqual(0, child.Attributes.Count);
}
See Also