Platforms to show: All Mac Windows Linux Cross-Platform

Back to CNMutableContactMBS class.

CNMutableContactMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The constructor.

CNMutableContactMBS.setContactRelations(contactRelations() as CNLabeledValueMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the array of labeled contact relations for the contact.

This property is an array of CNLabeledValue objects, each of which has a label and a CNContactRelationMBS value.

CNMutableContactMBS.setDates(dates() as CNLabeledValueMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the array containing labeled Gregorian dates.

This property is an array of CNLabeledValue objects, each of which has an String label and NSDateComponentsMBS value. You can use this property to store Gregorian dates such as anniversaries. Day and month are required and year is optional. Calendar is nil or Gregorian. All other date components are invalid.

CNMutableContactMBS.setEmailAddresses(emailAddresses() as CNLabeledValueMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the array of labeled email addresses for the contact.

This property is an array of CNLabeledValue objects, each of which has a label and a String value.

CNMutableContactMBS.setInstantMessageAddresses(instantMessageAddresses() as CNLabeledValueMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the array of labeled IM addresses for the contact.

This property is an array of CNLabeledValue objects, each of which has a label and a CNInstantMessageAddressMBS value.

Some examples using this method:

CNMutableContactMBS.setPhoneNumbers(phoneNumbers() as CNLabeledValueMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the array of labeled phone numbers for a contact.

This property is an array of CNLabeledValue objects, each of which has a label and a CNPhoneNumberMBS value.

Some examples using this method:

CNMutableContactMBS.setPostalAddresses(postalAddresses() as CNLabeledValueMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the array of labeled postal addresses for a contact.

This property is an array of CNLabeledValue objects, each of which has a label and a CNPostalAddressMBS value.

Some examples using this method:

CNMutableContactMBS.setSocialProfiles(socialProfiles() as CNLabeledValueMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the array of labeled social profiles for a contact.

This property is an array of CNLabeledValue objects, each of which has a label and a CNSocialProfileMBS value.

Some examples using this method:

CNMutableContactMBS.setURLAddresses(urlAddresses() as CNLabeledValueMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the array of labeled URL addresses for a contact.

This property is an array of CNLabeledValue objects, each of which has a label and a string value that contains the URL.

Some examples using this method:

CNMutableContactMBS.valueForKey(key as String) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Contacts MBS Mac64bit Plugin 17.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Queries or sets value for a given key.

(Read and Write computed property)

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...