ABMultiValueSetPrimaryIdentifier(_:_:)
Sets the primary value to be the value for the given identifier.
Declaration
func ABMultiValueSetPrimaryIdentifier(_ multiValue: ABMutableMultiValueRef!, _ identifier: CFString!) -> BoolParameters
- multiValue:
The multi-value list you wish to modify.
- identifier:
The identifier corresponding to the value you wish to designate as the primary value for this multi-value list. Use the Abmultivaluecopyidentifieratindex(_:_:) function to get the identifier given the index. If
identifierisNULL, 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(_:_:_:)