AbstractPreferences.PutSpi(String, 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.
Put the given key-value association into this preference node.
[Android.Runtime.Register("putSpi", "(Ljava/lang/String;Ljava/lang/String;)V", "GetPutSpi_Ljava_lang_String_Ljava_lang_String_Handler")]
protected abstract void PutSpi (string? key, string? value);
[<Android.Runtime.Register("putSpi", "(Ljava/lang/String;Ljava/lang/String;)V", "GetPutSpi_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member PutSpi : string * string -> unit
Parameters
- key
- String
the key
- value
- String
the value
- Attributes
Remarks
Put the given key-value association into this preference node. It is guaranteed that key
and value
are non-null and of legal length. Also, it is guaranteed that this node has not been removed. (The implementor needn't check for any of these things.)
This method is invoked with the lock on this node held.
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.