## XPathNavigator::InsertBefore() method


Retourne un objet [XmlWriter](../../../system.xml/xmlwriter/) utilisé pour créer un nouveau nœud frère avant le nœud actuellement sélectionné.

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


### ReturnValue

Un objet [XmlWriter](../../../system.xml/xmlwriter/) utilisé pour créer un nouveau nœud frère avant le nœud actuellement sélectionné.

## Voir aussi

* 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


Crée un nouveau nœud frère avant le nœud actuellement sélectionné en utilisant le contenu XML de l'objet [XmlReader](../../../system.xml/xmlreader/) spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| newSibling | SharedPtr\<XmlReader\> | Un objet [XmlReader](../../../system.xml/xmlreader/) positionné sur les données XML du nouveau nœud frère. |

## Voir aussi

* 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


Crée un nouveau nœud frère avant le nœud actuellement sélectionné en utilisant les nœuds du [XPathNavigator](../) spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| newSibling | SharedPtr\<XPathNavigator\> | Un objet [XPathNavigator](../) positionné sur le nœud à ajouter comme nouveau nœud frère. |

## Voir aussi

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


Crée un nouveau nœud frère avant le nœud actuellement sélectionné en utilisant la chaîne XML spécifiée.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| newSibling | String | La chaîne de données XML pour le nouveau nœud frère. |

## Voir aussi

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