XmlDataTests UpdateExistingAttributeWithSameValue 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 UpdateExistingAttributeWithSameValue()
Examples

[Test]
public void UpdateExistingAttributeWithSameValue()
{
    var root = new XmlData("root");
    root.AddAttribute("number", "123");
    root.UpdateAttribute("number", "123");
    Assert.AreEqual("123", root.GetAttributeValue("number"));
}
See Also