Share via


Properties.Replace Method

Definition

Overloads

Replace(Object, Object)
Replace(Object, Object, Object)

Replace(Object, Object)

[Android.Runtime.Register("replace", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetReplace_Ljava_lang_Object_Ljava_lang_Object_Handler", ApiSince=35)]
public virtual Java.Lang.Object? Replace (Java.Lang.Object? key, Java.Lang.Object? value);
[<Android.Runtime.Register("replace", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetReplace_Ljava_lang_Object_Ljava_lang_Object_Handler", ApiSince=35)>]
abstract member Replace : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object
override this.Replace : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object

Parameters

key
Object
value
Object

Returns

Attributes

Applies to

Replace(Object, Object, Object)

[Android.Runtime.Register("replace", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z", "GetReplace_Ljava_lang_Object_Ljava_lang_Object_Ljava_lang_Object_Handler", ApiSince=35)]
public virtual bool Replace (Java.Lang.Object? key, Java.Lang.Object? oldValue, Java.Lang.Object? newValue);
[<Android.Runtime.Register("replace", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z", "GetReplace_Ljava_lang_Object_Ljava_lang_Object_Ljava_lang_Object_Handler", ApiSince=35)>]
abstract member Replace : Java.Lang.Object * Java.Lang.Object * Java.Lang.Object -> bool
override this.Replace : Java.Lang.Object * Java.Lang.Object * Java.Lang.Object -> bool

Parameters

key
Object
oldValue
Object
newValue
Object

Returns

Attributes

Applies to