## XmlAttributeCollection::InsertBefore method


Εισάγει το καθορισμένο χαρακτηριστικό αμέσως πριν το καθορισμένο χαρακτηριστικό αναφοράς.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| newNode | const SharedPtr\<XmlAttribute\>\& | Το χαρακτηριστικό προς εισαγωγή. |
| refNode | const SharedPtr\<XmlAttribute\>\& | Το χαρακτηριστικό αναφοράς. **newNode** τοποθετείται πριν από το **refNode**. |

### ReturnValue

Το [XmlAttribute](../../xmlattribute/) για εισαγωγή στη συλλογή.

## Δείτε επίσης

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