Contents

CFArrayGetValueAtIndex(_:_:)

Retrieves a value at a given index.

Declaration

func CFArrayGetValueAtIndex(_ theArray: CFArray!, _ idx: CFIndex) -> UnsafeRawPointer!

Parameters

  • theArray:

    The array to examine.

  • idx:

    The index of the value to retrieve. If the index is outside the index space of theArray (0 to N-1 inclusive (where N is the count of theArray), the behavior is undefined.

Return Value

The value at the idx index in theArray. If the return value is a Core Foundation Object, ownership follows The Get Rule.

See Also

Examining an Array