ABMultiValueCopyLabelAtIndex(_:_:)
Returns the label for the given index.
Declaration
func ABMultiValueCopyLabelAtIndex(_ multiValue: ABMultiValue!, _ index: CFIndex) -> Unmanaged<CFString>!func ABMultiValueCopyLabelAtIndex(_ multiValue: ABMultiValueRef!, _ index: CFIndex) -> Unmanaged<CFString>!Parameters
- multiValue:
The multi-value list that you wish to access.
- index:
The index of the identifier you wish to obtain. If this parameter is out of bounds, this function raises an exception.
Return Value
The label at index in multiValue.You are responsible for releasing this object.
Discussion
Each value in a multi-value list must be the same type, andhas an associated pre-defined or user-defined label, and uniqueidentifier. Use the ABMultiValueCopyIdentifierAtIndex(_:_:) functionto get a identifier, and the ABMultiValueCopyValueAtIndex(_:_:)functionto get a value.
See Also
Multi Values
ABMultiValueAdd(_:_:_:_:)ABMultiValueCopyIdentifierAtIndex(_:_:)ABMultiValueCopyPrimaryIdentifier(_:)ABMultiValueCopyValueAtIndex(_:_:)ABMultiValueCount(_:)ABMultiValueCreate()ABMultiValueCreateCopy(_:)ABMultiValueCreateMutable(_:)ABMultiValueCreateMutableCopy(_:)ABMultiValueIndexForIdentifier(_:_:)ABMultiValueInsert(_:_:_:_:_:)ABMultiValuePropertyType(_:)ABMultiValueRemove(_:_:)ABMultiValueReplaceLabel(_:_:_:)ABMultiValueReplaceValue(_:_:_:)