Platforms to show: All Mac Windows Linux Cross-Platform

Back to ABMultiValueMBS class.

ABMultiValueMBS.Addressbook as ABAddressBookMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Reference to parent addressbook.

Plugin sets this for most objects to keep reference to addressbook and avoid this addressbook from being closed too early.
(Read and Write property)

ABMultiValueMBS.Content as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns content of multi value as dictionary.

This is more for inspection in debugger.
The plugin will add key and value for all values.
Values will be twice in the dictionary, once with label and once with identifier as key.
So if two items have same label, one will overwrite other in dictionary.
(Read only property)

ABMultiValueMBS.count as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the number of value/label pairs.

Returns 0 on any error.
(Read only property)

ABMultiValueMBS.Description as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The description for this multi value.
Example
dim a as new ABAddressBookMBS
dim m as new ABMutableMultiValueMBS
call m.insertValue("Hello World", "Owner", 0)
MsgBox m.Description

(Read only property)

ABMultiValueMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The handle of the used ABMultiValue object.

(Read and Write property)

ABMultiValueMBS.propertyType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Type of this multivalue (kABMultiXXXXProperty)

Returns kABErrorInProperty if this multi-value is empty or not all values have the same type.

Possible values:

const kABMultiValueMask = &h100
const kABErrorInProperty = &h0
const kABStringProperty = &h1
const kABIntegerProperty = &h2
const kABRealProperty = &h3
const kABDateProperty = &h4
const kABArrayProperty = &h5
const kABDictionaryProperty = &h6
const kABDataProperty = &h7
const kABMultiStringProperty = kABMultiValueMask + kABStringProperty
const kABMultiIntegerProperty = kABMultiValueMask + kABIntegerProperty
const kABMultiRealProperty = kABMultiValueMask + kABRealProperty
const kABMultiDateProperty = kABMultiValueMask + kABDateProperty
const kABMultiArrayProperty = kABMultiValueMask + kABArrayProperty
const kABMultiDictionaryProperty = kABMultiValueMask + kABDictionaryProperty
const kABMultiDataProperty = kABMultiValueMask + kABDataProperty
(Read only property)

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


The biggest plugin in space...