次の方法で共有


AbstractMap.SimpleEntry.SetValue(Object) Method

Definition

Replaces the value corresponding to this entry with the specified value.

[Android.Runtime.Register("setValue", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetSetValue_Ljava_lang_Object_Handler")]
public virtual Java.Lang.Object? SetValue (Java.Lang.Object? value);
[<Android.Runtime.Register("setValue", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetSetValue_Ljava_lang_Object_Handler")>]
abstract member SetValue : Java.Lang.Object -> Java.Lang.Object
override this.SetValue : Java.Lang.Object -> Java.Lang.Object

Parameters

value
Object

new value to be stored in this entry

Returns

the old value corresponding to the entry

Implements

Attributes

Remarks

Replaces the value corresponding to this entry with the specified value.

Java documentation for java.util.AbstractMap.SimpleEntry.setValue(V).

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