CNContactStore.ContactsWithData
-------------------------------

Creates contacts for vCard data.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Contacts](component_Contacts.md) | [8.4](newinversion84.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "CNContactStore.ContactsWithData"; Data ) 

**MBS**( **"CNContactStore.ContactsWithData";** /\* Creates contacts for vCard data. \*/  
**$Data**) /\* The vCard data. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Data | The vCard data. |  |

### Result

Returns text or error.

### Description

Creates contacts for vCard data.  
This converts between a contact and its vCard representation.  
  
See [CNContactStore.DataWithContacts](CNContactStoreDataWithContacts.md) to reverse this process.  
### See also

- [CNContactStore.ContactsInGroup](CNContactStoreContactsInGroup.md)
- [CNContactStore.ContactsMatchingName](CNContactStoreContactsMatchingName.md)
- [CNContactStore.ContactsMatchingURL](CNContactStoreContactsMatchingURL.md)
- [CNContactStore.DataWithContacts](CNContactStoreDataWithContacts.md)

This function checks for a license.

Created 1st August 2018 , last changed 11st January 2021

  
[CNContactStore.ContactsMatchingURL](CNContactStoreContactsMatchingURL.md) - [CNContactStore.ContainerForContact](CNContactStoreContainerForContact.md)

[HTML Version](CNContactStoreContactsWithData.shtml)