## Save(Stream) {#save}

Saves the decoded content of the part to a stream.

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

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The stream to write to. |

### See Also

* class [AttachmentBase](../)
* namespace [Aspose.Email](../../attachmentbase/)
* assembly [Aspose.Email](../../../)

---

## Save(string) {#save_1}

Saves the decoded content of the part to a file.

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

| Parameter | Type | Description |
| --- | --- | --- |
| fileName | String | The path of the file to write. |

### See Also

* class [AttachmentBase](../)
* namespace [Aspose.Email](../../attachmentbase/)
* assembly [Aspose.Email](../../../)


