## Save(string) {#save_3}

Slaat het OneNote-document op in een bestand.

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

| Parameter | Type | Beschrijving |
| --- | --- | --- |
| fileName | String | De volledige naam van het bestand. Als er al een bestand met de opgegeven volledige naam bestaat, wordt het bestaande bestand overschreven. |

### Uitzonderingen

| uitzondering | voorwaarde |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | De documentstructuur is in strijd met de specificatie. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Gevraagde opslagindeling wordt niet ondersteund. |

### Zie ook

* class [Notebook](../)
* naamruimte [Aspose.Note](../../notebook/)
* montage [Aspose.Note](../../../)

---

## Save(Stream) {#save}

Slaat het OneNote-document op in een stream.

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

| Parameter | Type | Beschrijving |
| --- | --- | --- |
| stream | Stream | De stroom. |

### Uitzonderingen

| uitzondering | voorwaarde |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | De documentstructuur is in strijd met de specificatie. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Gevraagde opslagindeling wordt niet ondersteund. |

### Zie ook

* class [Notebook](../)
* naamruimte [Aspose.Note](../../notebook/)
* montage [Aspose.Note](../../../)

---

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

Slaat het OneNote-document op in een bestand in de opgegeven indeling.

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

| Parameter | Type | Beschrijving |
| --- | --- | --- |
| fileName | String | De volledige naam van het bestand. Als er al een bestand met de opgegeven volledige naam bestaat, wordt het bestaande bestand overschreven. |
| format | SaveFormat | De indeling waarin het document moet worden opgeslagen. |

### Uitzonderingen

| uitzondering | voorwaarde |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | De documentstructuur is in strijd met de specificatie. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Gevraagde opslagindeling wordt niet ondersteund. |

### Zie ook

* enum [SaveFormat](../../saveformat/)
* class [Notebook](../)
* naamruimte [Aspose.Note](../../notebook/)
* montage [Aspose.Note](../../../)

---

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

Slaat het OneNote-document op in een stream in de opgegeven indeling.

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

| Parameter | Type | Beschrijving |
| --- | --- | --- |
| stream | Stream | De stroom. |
| format | SaveFormat | De indeling waarin het document moet worden opgeslagen. |

### Uitzonderingen

| uitzondering | voorwaarde |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | De documentstructuur is in strijd met de specificatie. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Gevraagde opslagindeling wordt niet ondersteund. |

### Zie ook

* enum [SaveFormat](../../saveformat/)
* class [Notebook](../)
* naamruimte [Aspose.Note](../../notebook/)
* montage [Aspose.Note](../../../)

---

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

Slaat het OneNote-document op in een bestand met de opgegeven opslagopties.

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

| Parameter | Type | Beschrijving |
| --- | --- | --- |
| fileName | String | De volledige naam van het bestand. Als er al een bestand met de opgegeven volledige naam bestaat, wordt het bestaande bestand overschreven. |
| options | NotebookSaveOptions | Specificeert de opties hoe het document wordt opgeslagen in bestand. |

### Uitzonderingen

| uitzondering | voorwaarde |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | De documentstructuur is in strijd met de specificatie. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Gevraagde opslagindeling wordt niet ondersteund. |

### Zie ook

* class [NotebookSaveOptions](../../../aspose.note.saving/notebooksaveoptions/)
* class [Notebook](../)
* naamruimte [Aspose.Note](../../notebook/)
* montage [Aspose.Note](../../../)

---

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

Slaat het OneNote-document op in een stream met behulp van de opgegeven opslagopties.

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

| Parameter | Type | Beschrijving |
| --- | --- | --- |
| stream | Stream | De stroom. |
| options | NotebookSaveOptions | Specificeert de opties hoe het document wordt opgeslagen. |

### Uitzonderingen

| uitzondering | voorwaarde |
| --- | --- |
| [IncorrectDocumentStructureException](../../incorrectdocumentstructureexception/) | De documentstructuur is in strijd met de specificatie. |
| [UnsupportedSaveFormatException](../../unsupportedsaveformatexception/) | Gevraagde opslagindeling wordt niet ondersteund. |

### Zie ook

* class [NotebookSaveOptions](../../../aspose.note.saving/notebooksaveoptions/)
* class [Notebook](../)
* naamruimte [Aspose.Note](../../notebook/)
* montage [Aspose.Note](../../../)


