ABMultiValueInsertValueAndLabelAtIndex(_:_:_:_:_:)
Inserts a value and a label into a multivalue property.
Declaration
func ABMultiValueInsertValueAndLabelAtIndex(_ multiValue: ABMutableMultiValue!, _ value: CFTypeRef!, _ label: CFString!, _ index: CFIndex, _ outIdentifier: UnsafeMutablePointer<ABMultiValueIdentifier>!) -> BoolParameters
- multiValue:
The multivalue property into which to insert
value. - value:
The value to insert.
- label:
The label to insert.
- index:
The location, in
multiValue, at which to insertvalueandlabel.Raises an exception when out of bounds.
- outIdentifier:
On output, the identifier of the added value.
Return Value
true when value and label are inserted successfully into multiValue, false otherwise.
Discussion
This function performs no type checking. It allows the insertion of values whose type does not match the type declared for multiValue.
This function takes an index. If you have an identifier, use the ABMultiValueGetIndexForIdentifier(_:_:) function to get the corresponding index.
See Also
Deprecated
ABAddressBookAddRecord(_:_:_:)ABAddressBookCopyArrayOfAllGroups(_:)ABAddressBookCopyArrayOfAllGroupsInSource(_:_:)ABAddressBookCopyArrayOfAllPeople(_:)ABAddressBookCopyArrayOfAllPeopleInSource(_:_:)ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering(_:_:_:)ABAddressBookCopyArrayOfAllSources(_:)ABAddressBookCopyDefaultSource(_:)ABAddressBookCopyLocalizedLabel(_:)ABAddressBookCopyPeopleWithName(_:_:)ABAddressBookCreate()ABAddressBookCreateWithOptions(_:_:)ABAddressBookGetAuthorizationStatus()ABAddressBookGetGroupCount(_:)ABAddressBookGetGroupWithRecordID(_:_:)