Settings.System.PutString(ContentResolver, String, String) Method

Definition

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

Boolean
Attributes

Remarks

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