IMutableKeyValueStore.Remove(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
the previous value associated with key, or null if there was no mapping for key.
- Attributes
Remarks
Removes the mapping for the specified key.
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.