---
title: "AttachmentBase.Dispose"
url: "https://reference.aspose.com/email/net/aspose.email/attachmentbase/dispose/"
product: "Aspose.Email for .NET API Reference"
description: "AttachmentBase method. Releases the resources used by the part including its content stream"
---

## AttachmentBase.Dispose method

Releases the resources used by the part, including its content stream.

```csharp
public void Dispose()
```

### See Also

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


