Contact Constructors
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.
Overloads
Contact() |
Constructs a new instance of Contact. |
Contact(String, String, String, String, String, String, IEnumerable<ContactPhone>, IEnumerable<ContactEmail>, String) |
Constructs a new instance of Contact using the various parameters. |
Contact()
Contact(String, String, String, String, String, String, IEnumerable<ContactPhone>, IEnumerable<ContactEmail>, String)
Constructs a new instance of Contact using the various parameters.
public Contact (string id, string namePrefix, string givenName, string middleName, string familyName, string nameSuffix, System.Collections.Generic.IEnumerable<Xamarin.Essentials.ContactPhone> phones, System.Collections.Generic.IEnumerable<Xamarin.Essentials.ContactEmail> email, string displayName = null);
Parameters
- id
- System.String
The identifier of the contact.
- namePrefix
- System.String
The prefix of the contact.
- givenName
- System.String
The given name or first name of the contact.
- middleName
- System.String
The middle name(s) of the contact.
- familyName
- System.String
The family name or last name of the contact.
- nameSuffix
- System.String
The suffix of the contact.
- phones
- System.Collections.Generic.IEnumerable<ContactPhone>
A collection of phone numbers for the contact.
- System.Collections.Generic.IEnumerable<ContactEmail>
A collection of email addresses for the contact.
- displayName
- System.String
The display name of the contact.