## XmlDocument::Save(SharedPtr\<IO::Stream\>) method


Salva il documento XML nello stream specificato.

```cpp
virtual void System::Xml::XmlDocument::Save(SharedPtr<IO::Stream> outStream)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| outStream | SharedPtr\<IO::Stream\> | Lo stream su cui desideri salvare. |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
## XmlDocument::Save(SharedPtr\<IO::TextWriter\>) method


Salva il documento XML nel TextWriter specificato.

```cpp
virtual void System::Xml::XmlDocument::Save(SharedPtr<IO::TextWriter> writer)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| writer | SharedPtr\<IO::TextWriter\> | Il TextWriter su cui desideri salvare. |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
## XmlDocument::Save(SharedPtr\<XmlWriter\>) method


Salva il documento XML nello [XmlWriter](../../xmlwriter/) specificato.

```cpp
virtual void System::Xml::XmlDocument::Save(SharedPtr<XmlWriter> w)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| w | SharedPtr\<XmlWriter\> | Lo [XmlWriter](../../xmlwriter/) in cui vuoi salvare. |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../xmlwriter/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
## XmlDocument::Save(String) method


Salva il documento XML nel file specificato. Se il file specificato esiste, questo metodo lo sovrascrive.

```cpp
virtual void System::Xml::XmlDocument::Save(String filename)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| filename | String | Il percorso del file in cui desideri salvare il documento. |

## Vedi anche

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