---
title: "Aspose::Email::Mapi::KnownPropertyList::TargetEntryId method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/targetentryid/"
product: "Aspose.Email for C++"
description: "Contains the message ID of a Message object being submitted for optimization ([MS- OXOMSG] section 3.2.4.4)."
---


## TargetEntryId {#targetentryid}

Contains the message ID of a Message object being submitted for optimization ([MS- OXOMSG] section 3.2.4.4). Area: ID Properties Canonical name: PidTagTargetEntryId Alternate names: PR_TARGET_ENTRYID, ptagTargetEntryId

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

```cpp
TargetEntryId()
```

