## XmlAttributeCollection::InsertBefore method


지정된 속성을 지정된 기준 속성 바로 앞에 삽입합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 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++](../../../)
