Platforms to show: All Mac Windows Linux Cross-Platform

Back to CNLabeledValueMBS class.

CNLabeledValueMBS.available as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Whether this class is available.

Should return true in a 64-bit Mac app on Mac OS X 10.11 or newer.

CNLabeledValueMBS.CNLabelDateAnniversary as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
This constant is a predefined label that can be used in a CNLabeledValue object having an NSDateComponents value.

CNLabeledValueMBS.CNLabelEmailiCloud as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
This constant is a predefined label that can be used in a CNLabeledValue object having an email address string value.

Email.

This label takes a string value.

CNLabeledValueMBS.CNLabelHome as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
One of the predefined labels that can be used in a CNLabeledValue object having any value.

Home label.
This label takes a string value.

Some examples using this method:

CNLabeledValueMBS.CNLabelOther as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
One of the predefined labels that can be used in a CNLabeledValue object having any value.

Other label.
This label takes a string value.

CNLabeledValueMBS.CNLabelURLAddressHomePage as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
This constant is a predefined label that can be used in a CNLabeledValue object having a URL address string value.

Identifier for the URL property.
This label takes a string value.

Some examples using this method:

CNLabeledValueMBS.CNLabelWork as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
One of the predefined labels that can be used in a CNLabeledValue object having any value.

Work label.
This label takes a string value.

Some examples using this method:

CNLabeledValueMBS.labeledValueWithLabel(label as string, value as Variant) as CNLabeledValueMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a new labeled value identifier object with the specified label and value.

label: A string value for the label of the labeled value object, or nil if the value doesn’t have a label.
value: A value for the labeled value object. For valid values, see CNContact properties that are arrays of labeled value objects.

Returns a new CNLabeledValue object with a new identifier.

CNLabeledValueMBS.localizedStringForLabel(label as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a localized string for the specified label.

label: The label to be localized.

Returns a localized string for the label.

All predefined label constants are localized and this method returns their localized strings. A custom label will be returned as is, so this method can be used to convert all labels for display.

Some examples using this method:

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


The biggest plugin in space...