Returns the data index of a primary key value.
Parameters
- key
- The primary key value for which to get the index.
Return Value
The index of the key, or -1 if not found or available.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+