---
title: "Aspose::Email::Mapi::KnownPropertyList::RetentionFlags method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/retentionflags/"
product: "Aspose.Email for C++"
description: "Contains flags that specify the status or nature of an item's retention tag or archive tag."
---


## RetentionFlags {#retentionflags}

Contains flags that specify the status or nature of an item's retention tag or archive tag. Area: Archive Canonical name: PidTagRetentionFlags Alternate names: PR_RETENTION_FLAGS, ptagRetentionFlags

**Returns:** System::SharedPtr < PidTagPropertyDescriptor > Aspose::Email::Mapi::

```cpp
RetentionFlags()
```

