Contacts.Settings.GetSetting(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.
Caution
deprecated
This member is deprecated.
[Android.Runtime.Register("getSetting", "(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")]
[System.Obsolete("deprecated")]
public static string? GetSetting(Android.Content.ContentResolver? cr, string? account, string? key);
[<Android.Runtime.Register("getSetting", "(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")>]
[<System.Obsolete("deprecated")>]
static member GetSetting : Android.Content.ContentResolver * string * string -> string
Parameters
The resolver used to query the legacy settings provider.
- account
- String
Not used; the legacy implementation operates on global contact settings.
- key
- String
The setting key bound to the read query.
Returns
The text in the first matching settings row, or null when no row matches.
- Attributes
Remarks
This member is deprecated. see android.provider.ContactsContract
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.