Settings.Global.PutString(ContentResolver, String, String) Metodo

Definizione

Archiviare una coppia nome/valore nel 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

Parametri

resolver
ContentResolver

per accedere al database con

name
String

per archiviare

value
String

per associare il nome

Valori restituiti

true se il valore è stato impostato, false in caso di errori del database

Attributi

Commenti

Archiviare una coppia nome/valore nel database.

per android.provider.Settings.Global.putString(android.content.ContentResolver, java.lang.String, java.lang.String).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a