Returns the index of the specified pasteboard item.
- macOS 10.6+
A pasteboard item.
The index of the specified pasteboard item. If
pasteboard has not been added to any pasteboard, or is owned by another pasteboard, returns
An item’s index in the pasteboard is useful for a pasteboard item data provider that has promised data for multiple items, to be able to easily match the pasteboard item to an array of source data from which to derive the promised data.