## XmlAttributeCollection::InsertBefore method


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

```cpp
SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::InsertBefore(const SharedPtr<XmlAttribute> &newNode, const SharedPtr<XmlAttribute> &refNode)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| newNode | const SharedPtr\<XmlAttribute\>\& | Het attribuut om in te voegen. |
| refNode | const SharedPtr\<XmlAttribute\>\& | Het referentie‑attribuut. **newNode** wordt geplaatst vóór de **refNode**. |

### ReturnValue

De [XmlAttribute](../../xmlattribute/) om in de collectie in te voegen.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlAttribute](../../xmlattribute/)
* Class [XmlAttributeCollection](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
