---
title: "Aspose::Email::Attachment::ToCalendarAttachmentProperty method"
url: "https://reference.aspose.com/email/cpp/aspose.email/attachment/tocalendarattachmentproperty/"
product: "Aspose.Email for C++"
description: "ToCalendarAttachmentProperty of Attachment."
---


## ToCalendarAttachmentProperty {#tocalendarattachmentproperty}

**Returns:** System::SharedPtr <Calendar::Model::Property::AttachmentProperty> Aspose::Email::

```cpp
ToCalendarAttachmentProperty()
```

