Android.Util.SparseArray.IndexOfKey Method
Returns the index for which SparseArray`1.keyAt(int) would return the specified key, or a negative number if the specified key is not mapped.

Syntax

[Android.Runtime.Register("indexOfKey", "(I)I", "GetIndexOfKey_IHandler")]
public virtual int IndexOfKey (int key)

Parameters

key
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the index for which SparseArray`1.keyAt(int) would return the specified key, or a negative number if the specified key is not mapped.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1