Settings.Global.PutString(ContentResolver, 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.
Store a name/value pair into the database.
[Android.Runtime.Register("putString", "(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)Z", "")]
public static bool PutString (Android.Content.ContentResolver? resolver, string? name, string? value);
[<Android.Runtime.Register("putString", "(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)Z", "")>]
static member PutString : Android.Content.ContentResolver * string * string -> bool
Parameters
- resolver
- ContentResolver
to access the database with
- name
- String
to store
- value
- String
to associate with the name
Returns
true if the value was set, false on database errors
- Attributes
Remarks
Store a name/value pair into the database.
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.