## XmlAttributeCollection::InsertAfter method


Infogar det angivna attributet omedelbart efter det angivna referensattributet.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| newNode | const SharedPtr\<XmlAttribute\>\& | Attributet att infoga. |
| refNode | const SharedPtr\<XmlAttribute\>\& | Referensattributet. **newNode** placeras efter **refNode**. |

### ReturnValue

Den [XmlAttribute](../../xmlattribute/) som ska infogas i samlingen.

## Se även

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