Language

JavaDictionary<K,V>.Item[K] Property

Definition

Gets or sets the value associated with a key in the Java map.

public V this[K key] { get; set; }
member this.Item('K) : 'V with get, set

Parameters

key
K

The key of the mapping.

Property Value

V

The value associated with the key. The getter throws KeyNotFoundException if the map does not contain the key.

Implements

Remarks

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