Contents

ABMultiValue

An immutable representation of a property that might have multiple values.

Declaration

class ABMultiValue

Overview

Each value in a multivalue list must be of the same type, and must have an associated predefined or user-defined label, and unique identifier. The labels, however, need not be unique. For example, you can have multiple Home phone numbers. Each multivalue object may have a primary identifier—used as a default value when a label is not provided. For example, a person record may have multiple addresses with the labels Home and Work, where Work is designated as the primary value. Instances of this class are immutable, see ABMutableMultiValue for methods that manipulate the content of a multivalue list.

The ABMultiValue class is “toll-free bridged” with its procedural C opaque-type counterpart. This means that the ABMultiValue type is interchangeable in function or method calls with instances of the ABMultiValue class.

Topics

Accessing the primary identifier

Accessing identifiers

Accessing entries

Querying the list

See Also

Data Types