ABMultiValueReplaceValue(_:_:_:)
Replaces the value at the given index.
Declaration
func ABMultiValueReplaceValue(_ multiValue: ABMutableMultiValueRef!, _ value: CFTypeRef!, _ index: CFIndex) -> BoolParameters
- multiValue:
The multi-value list you wish to modify.
- value:
An object representing the new value in a multi-value list–it must be of the correct type. For example, if
multiValueis the value for a property of type kABMultiStringProperty, thenvalueneeds to be a CFString object. See Property Types for a list of supported types in a multi-value list(see descriptions of thekABMulti...constants). IfvalueisNULL, this function raises an exception. - index:
The index of the entry to be modified. If
indexis out of bounds, this function raises an exception.
Return Value
true ifsuccessfully, false otherwise.
See Also
Multi Values
ABMultiValueAdd(_:_:_:_:)ABMultiValueCopyIdentifierAtIndex(_:_:)ABMultiValueCopyLabelAtIndex(_:_:)ABMultiValueCopyPrimaryIdentifier(_:)ABMultiValueCopyValueAtIndex(_:_:)ABMultiValueCount(_:)ABMultiValueCreate()ABMultiValueCreateCopy(_:)ABMultiValueCreateMutable(_:)ABMultiValueCreateMutableCopy(_:)ABMultiValueIndexForIdentifier(_:_:)ABMultiValueInsert(_:_:_:_:_:)ABMultiValuePropertyType(_:)ABMultiValueRemove(_:_:)ABMultiValueReplaceLabel(_:_:_:)