Contacts.People.AddToMyContactsGroup(ContentResolver, Int64) 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
Adds a person to the My Contacts group.
[Android.Runtime.Register("addToMyContactsGroup", "(Landroid/content/ContentResolver;J)Landroid/net/Uri;", "")]
[System.Obsolete("deprecated")]
public static Android.Net.Uri? AddToMyContactsGroup (Android.Content.ContentResolver? resolver, long personId);
[<Android.Runtime.Register("addToMyContactsGroup", "(Landroid/content/ContentResolver;J)Landroid/net/Uri;", "")>]
[<System.Obsolete("deprecated")>]
static member AddToMyContactsGroup : Android.Content.ContentResolver * int64 -> Android.Net.Uri
Parameters
- resolver
- ContentResolver
the resolver to use
- personId
- Int64
the person to add to the group
Returns
the URI of the group membership row
- Attributes
Exceptions
if the My Contacts group can't be found
Remarks
Adds a person to the My Contacts group.
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.