---
title: "Aspose::Email::Mapi::KnownPropertyList::Subject method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/subject/"
product: "Aspose.Email for C++"
description: "Specifies the subject of the file attached to the Document object."
---


## Subject {#subject}

Specifies the subject of the file attached to the Document object. Area: Common Canonical name: PidNameSubject Alternate names: urn:schemas-microsoft-com:office:office::Subject

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

```cpp
Subject()
```

