Contents

ABMultiValueCopyValueAtIndex(_:_:)

Returns the value for the given index.

Declaration

func ABMultiValueCopyValueAtIndex(_ multiValue: ABMultiValue!, _ index: CFIndex) -> Unmanaged<CFTypeRef>!
func ABMultiValueCopyValueAtIndex(_ multiValue: ABMultiValueRef!, _ index: CFIndex) -> Unmanaged<CFTypeRef>!

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 value 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 ABMultiValueCopyLabelAtIndex(_:_:)functionto get a label.

See Also

Multi Values