---
title: "Aspose::Email::Mapi::MapiContactEventPropertySet::ToVCard method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapicontacteventpropertyset/tovcard/"
product: "Aspose.Email for C++"
description: "Converts this MapiContactEventPropertySet into vCard properties and adds them to the specified VCardHeaderList"
---


## ToVCard {#tovcard}

Converts this MapiContactEventPropertySet into vCard properties and adds them to the specified VCardHeaderList

**Returns:** void Aspose::Email::Mapi::

```cpp
ToVCard(System::SharedPtr < PersonalInfo::VCard::VCardHeaderList > vCardProperties)
```

| Parameter | Description |
| --- | --- |
| vCardProperties | A VCardHeaderList |

