CNLabeledValueMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem