## Save(string) {#save_3}

Salva il documento OneNote in un file.

```csharp
public void Save(string fileName)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| fileName | String | Il nome completo del file. Se esiste già un file con il nome completo specificato, il file esistente viene sovrascritto. |

### Eccezioni

| eccezione | condizione |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | La struttura del documento viola le specifiche. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Il formato di salvataggio richiesto non è supportato. |

### Guarda anche

* class [Notebook](../)
* spazio dei nomi [Aspose.Note](../../notebook/)
* assemblea [Aspose.Note](../../../)

---

## Save(Stream) {#save}

Salva il documento OneNote in un flusso.

```csharp
public void Save(Stream stream)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| stream | Stream | Il flusso. |

### Eccezioni

| eccezione | condizione |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | La struttura del documento viola le specifiche. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Il formato di salvataggio richiesto non è supportato. |

### Guarda anche

* class [Notebook](../)
* spazio dei nomi [Aspose.Note](../../notebook/)
* assemblea [Aspose.Note](../../../)

---

## Save(string, SaveFormat) {#save_4}

Salva il documento OneNote in un file nel formato specificato.

```csharp
public void Save(string fileName, SaveFormat format)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| fileName | String | Il nome completo del file. Se esiste già un file con il nome completo specificato, il file esistente viene sovrascritto. |
| format | SaveFormat | Il formato in cui salvare il documento. |

### Eccezioni

| eccezione | condizione |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | La struttura del documento viola le specifiche. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Il formato di salvataggio richiesto non è supportato. |

### Guarda anche

* enum [SaveFormat](../../saveformat/)
* class [Notebook](../)
* spazio dei nomi [Aspose.Note](../../notebook/)
* assemblea [Aspose.Note](../../../)

---

## Save(Stream, SaveFormat) {#save_1}

Salva il documento OneNote in un flusso nel formato specificato.

```csharp
public void Save(Stream stream, SaveFormat format)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| stream | Stream | Il flusso. |
| format | SaveFormat | Il formato in cui salvare il documento. |

### Eccezioni

| eccezione | condizione |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | La struttura del documento viola le specifiche. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Il formato di salvataggio richiesto non è supportato. |

### Guarda anche

* enum [SaveFormat](../../saveformat/)
* class [Notebook](../)
* spazio dei nomi [Aspose.Note](../../notebook/)
* assemblea [Aspose.Note](../../../)

---

## Save(string, NotebookSaveOptions) {#save_5}

Salva il documento OneNote in un file utilizzando le opzioni di salvataggio specificate.

```csharp
public void Save(string fileName, NotebookSaveOptions options)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| fileName | String | Il nome completo del file. Se esiste già un file con il nome completo specificato, il file esistente viene sovrascritto. |
| options | NotebookSaveOptions | Specifica le opzioni di salvataggio del documento nel file. |

### Eccezioni

| eccezione | condizione |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | La struttura del documento viola le specifiche. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Il formato di salvataggio richiesto non è supportato. |

### Guarda anche

* class [NotebookSaveOptions](../../../aspose.note.saving/notebooksaveoptions/)
* class [Notebook](../)
* spazio dei nomi [Aspose.Note](../../notebook/)
* assemblea [Aspose.Note](../../../)

---

## Save(Stream, NotebookSaveOptions) {#save_2}

Salva il documento OneNote in un flusso utilizzando le opzioni di salvataggio specificate.

```csharp
public void Save(Stream stream, NotebookSaveOptions options)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| stream | Stream | Il flusso. |
| options | NotebookSaveOptions | Specifica le opzioni di salvataggio del documento. |

### Eccezioni

| eccezione | condizione |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | La struttura del documento viola le specifiche. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Il formato di salvataggio richiesto non è supportato. |

### Guarda anche

* class [NotebookSaveOptions](../../../aspose.note.saving/notebooksaveoptions/)
* class [Notebook](../)
* spazio dei nomi [Aspose.Note](../../notebook/)
* assemblea [Aspose.Note](../../../)


