## XPathNavigator::InsertBefore() method


現在選択されているノードの前に新しい兄弟ノードを作成するために使用される [XmlWriter](../../../system.xml/xmlwriter/) オブジェクトを返します。

```cpp
virtual SharedPtr<XmlWriter> System::Xml::XPath::XPathNavigator::InsertBefore()
```


### ReturnValue

現在選択されているノードの前に新しい兄弟ノードを作成するために使用される [XmlWriter](../../../system.xml/xmlwriter/) オブジェクトです。

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Page for C++](../../../)
## XPathNavigator::InsertBefore(SharedPtr\<XmlReader\>) method


指定された [XmlReader](../../../system.xml/xmlreader/) オブジェクトの XML 内容を使用して、現在選択されているノードの前に新しい兄弟ノードを作成します。

```cpp
virtual void System::Xml::XPath::XPathNavigator::InsertBefore(SharedPtr<XmlReader> newSibling)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| newSibling | SharedPtr\<XmlReader\> | 新しい兄弟ノードの XML データ上に位置する [XmlReader](../../../system.xml/xmlreader/) オブジェクトです。 |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlReader](../../../system.xml/xmlreader/)
* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Page for C++](../../../)
## XPathNavigator::InsertBefore(SharedPtr\<XPathNavigator\>) method


指定された [XPathNavigator](../) のノードを使用して、現在選択されているノードの前に新しい兄弟ノードを作成します。

```cpp
virtual void System::Xml::XPath::XPathNavigator::InsertBefore(SharedPtr<XPathNavigator> newSibling)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| newSibling | SharedPtr\<XPathNavigator\> | 新しい兄弟ノードとして追加するノード上に位置する [XPathNavigator](../) オブジェクトです。 |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XPathNavigator](../)
* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Page for C++](../../../)
## XPathNavigator::InsertBefore(String) method


指定された XML 文字列を使用して、現在選択されているノードの前に新しい兄弟ノードを作成します。

```cpp
virtual void System::Xml::XPath::XPathNavigator::InsertBefore(String newSibling)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| newSibling | String | 新しい兄弟ノードの XML データ文字列です。 |

## 参照

* Class [String](../../../system/string/)
* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Page for C++](../../../)
