Instance Method

labeledValueBySettingValue:

Returns a new value for an existing label and identifier.

Declaration

- (instancetype)labeledValueBySettingValue:(ValueType)value;

Parameters

value

A new value for the copied labeled value object. For valid values, see CNContact properties that are arrays of labeled value objects.

Return Value

The CNLabeledValue object with an existing label and identifier.

See Also

Setting Labels and Values

- labeledValueBySettingLabel:

Returns a labeled value object with an existing value and identifier.

- labeledValueBySettingLabel:value:

Returns a labeled value object with the specified label and value with the existing identifier.