System::Xml::XmlAttributeCollection::InsertBefore-methode

XmlAttributeCollection::InsertBefore method

Voegt het opgegeven attribuut direct vóór het opgegeven referentie‑attribuut in.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::InsertBefore(const SharedPtr<XmlAttribute> &newNode, const SharedPtr<XmlAttribute> &refNode)
ParameterTypeBeschrijving
newNodeconst SharedPtr<XmlAttribute>&Het attribuut om in te voegen.
refNodeconst SharedPtr<XmlAttribute>&Het referentie‑attribuut. newNode wordt geplaatst vóór de refNode.

ReturnValue

De XmlAttribute om in de collectie in te voegen.

Zie ook