Android.Util.SparseBooleanArray.IndexOfValue Method
Returns an index for which SparseBooleanArray.ValueAt(int) would return the specified key, or a negative number if no keys map to the specified value.

Syntax

[Android.Runtime.Register("indexOfValue", "(Z)I", "GetIndexOfValue_ZHandler")]
public virtual int IndexOfValue (bool value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns an index for which SparseBooleanArray.ValueAt(int) would return the specified key, or a negative number if no keys map to the specified value. Beware that this is a linear search, unlike lookups by key, and that multiple keys can map to the same value and this will find only one of them.

[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