InsertAfter()

XmlAttributeCollection::InsertAfter(const SharedPtr<XmlAttribute>&, const SharedPtr<XmlAttribute>&) method

Inserts the specified attribute immediately after the specified reference attribute.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::InsertAfter(const SharedPtr<XmlAttribute> &newNode, const SharedPtr<XmlAttribute> &refNode)

Arguments

ParameterTypeDescription
newNodeconst SharedPtr<XmlAttribute>&The attribute to insert.
refNodeconst SharedPtr<XmlAttribute>&The reference attribute. newNode is placed after the refNode.

Return Value

The XmlAttribute to insert into the collection.

See Also