Share via


IMutableKeyValueStore.Remove(String) Method

Definition

Removes the mapping for the specified key.

[Android.Runtime.Register("remove", "(Ljava/lang/String;)[B", "GetRemove_Ljava_lang_String_Handler:Android.AdServices.OnDevicePersonalization.IMutableKeyValueStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public byte[]? Remove (string key);
[<Android.Runtime.Register("remove", "(Ljava/lang/String;)[B", "GetRemove_Ljava_lang_String_Handler:Android.AdServices.OnDevicePersonalization.IMutableKeyValueStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member Remove : string -> byte[]

Parameters

key
String

key whose mapping is to be removed

Returns

Byte[]

the previous value associated with key, or null if there was no mapping for key.

Attributes

Remarks

Removes the mapping for the specified key.

Java documentation for android.adservices.ondevicepersonalization.MutableKeyValueStore.remove(java.lang.String).

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