Share via


ArrayMap.Get(Object) Method

Definition

Retrieve a value from the array.

[Android.Runtime.Register("get", "(Ljava/lang/Object;)Ljava/lang/Object;", "")]
public Java.Lang.Object? Get (Java.Lang.Object? key);
[<Android.Runtime.Register("get", "(Ljava/lang/Object;)Ljava/lang/Object;", "")>]
abstract member Get : Java.Lang.Object -> Java.Lang.Object
override this.Get : Java.Lang.Object -> Java.Lang.Object

Parameters

key
Object

The key of the value to retrieve.

Returns

Returns the value associated with the given key, or null if there is no such key.

Implements

Attributes

Remarks

Retrieve a value from the array.

Java documentation for android.util.ArrayMap.get(java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to