Contents

ABMutableMultiValue

A mutable representation of a property that might have multiple values.

Declaration

class ABMutableMultiValue

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 ABMutableMultiValue are mutable, see ABMultiValue for additional methods that access the content of a multivalue list.

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

Topics

Adding a value

Replacing values and labels

Removing values

Setting the Primary identifier

See Also

Data Types