---
title: "Aspose::Email::Mapi::MapiRecipient::ToIcalendarProperty method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapirecipient/toicalendarproperty/"
product: "Aspose.Email for C++"
description: "Converts this instanse to the corresponding iCalendar property"
---


## ToIcalendarProperty {#toicalendarproperty}

Converts this instanse to the corresponding iCalendar property

**Returns:** A OrganizerProperty or AttendeeProperty depending on organizerAllow properties of this recipient

```cpp
ToIcalendarProperty(bool organizerAllow)
```

| Parameter | Description |
| --- | --- |
| organizerAllow | Indicates whether the ORGANIZER property should be created |

