System::Xml::XmlAttributeCollection::InsertBefore method

XmlAttributeCollection::InsertBefore method

Inserts the specified attribute immediately before the specified reference attribute.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::InsertBefore(const SharedPtr<XmlAttribute> &newNode, const SharedPtr<XmlAttribute> &refNode)
ParameterTypeDescription
newNodeconst SharedPtr<XmlAttribute>&The attribute to insert.
refNodeconst SharedPtr<XmlAttribute>&The reference attribute. newNode is placed before the refNode.

ReturnValue

The XmlAttribute to insert into the collection.

See Also