## 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.Font 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 |
| --- | --- | --- |
| scrittore | SharedPtr\<IO::TextWriter\> | Il TextWriter in cui vuoi salvare. |

## Vedi anche

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


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

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


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

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../xmlwriter/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font 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 | Stringa | Il percorso del file in cui vuoi salvare il documento. |

## Vedi anche

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