## XPathNavigator::InsertBefore() method


Restituisce un oggetto [XmlWriter](../../../system.xml/xmlwriter/) utilizzato per creare un nuovo nodo fratello prima del nodo attualmente selezionato.

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


### ReturnValue

Un oggetto [XmlWriter](../../../system.xml/xmlwriter/) utilizzato per creare un nuovo nodo fratello prima del nodo attualmente selezionato.

## Vedi anche

* 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


Crea un nuovo nodo fratello prima del nodo attualmente selezionato utilizzando il contenuto XML dell'oggetto [XmlReader](../../../system.xml/xmlreader/) specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| newSibling | SharedPtr\<XmlReader\> | Un oggetto [XmlReader](../../../system.xml/xmlreader/) posizionato sui dati XML per il nuovo nodo fratello. |

## Vedi anche

* 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


Crea un nuovo nodo fratello prima del nodo attualmente selezionato utilizzando i nodi nel [XPathNavigator](../) specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| newSibling | SharedPtr\<XPathNavigator\> | Un oggetto [XPathNavigator](../) posizionato sul nodo da aggiungere come nuovo nodo fratello. |

## Vedi anche

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


Crea un nuovo nodo fratello prima del nodo attualmente selezionato utilizzando la stringa XML specificata.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| newSibling | String | La stringa di dati XML per il nuovo nodo fratello. |

## Vedi anche

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