IKeyValueStore.Get(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.
Looks up a key in a read-only store.
[Android.Runtime.Register("get", "(Ljava/lang/String;)[B", "GetGet_Ljava_lang_String_Handler:Android.AdServices.OnDevicePersonalization.IKeyValueStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public byte[]? Get (string key);
[<Android.Runtime.Register("get", "(Ljava/lang/String;)[B", "GetGet_Ljava_lang_String_Handler:Android.AdServices.OnDevicePersonalization.IKeyValueStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member Get : string -> byte[]
Parameters
- key
- String
The key to look up.
Returns
the value to which the specified key is mapped, or null if there contains no mapping for the key.
- Attributes
Remarks
Looks up a key in a read-only store.
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.