---
title: "MapiAttachment.RemoveProperty"
url: "https://reference.aspose.com/email/net/aspose.email.mapi/mapiattachment/removeproperty/"
product: "Aspose.Email for .NET API Reference"
description: "MapiAttachment method. Removes a property from the attachment including its namedproperty mapping"
---

## MapiAttachment.RemoveProperty method

Removes a property from the attachment, including its named-property mapping.

```csharp
public void RemoveProperty(long tag)
```

| Parameter | Type | Description |
| --- | --- | --- |
| tag | Int64 | The tag of the property to remove. |

### See Also

* class [MapiAttachment](../)
* namespace [Aspose.Email.Mapi](../../mapiattachment/)
* assembly [Aspose.Email](../../../)


