RemoveAttributeAt()

XmlElement::RemoveAttributeAt(int32_t) method

Removes the attribute node with the specified index from the element. (If the removed attribute has a default value, it is immediately replaced).

virtual SharedPtr<XmlNode> System::Xml::XmlElement::RemoveAttributeAt(int32_t i)

Arguments

ParameterTypeDescription
iint32_tThe index of the node to remove. The first node has index 0.

Return Value

The attribute node removed or nullptr if there is no node at the given index.

See Also