Class Contact
Data object for phone contacts.
public class Contact
- Inheritance
-
Contact
- Inherited Members
Constructors
Contact()
public Contact()
Properties
Email address associated with the contact.
public string EMail { get; set; }
Property Value
Id
Identifier for the contact on the device.
public string Id { get; set; }
Property Value
Name
Name of the contact.
public string Name { get; set; }
Property Value
PhoneNumberHome
Home phone number associated with the contact.
public string PhoneNumberHome { get; set; }
Property Value
PhoneNumberMobile
Mobile phone number associated with the contact.
public string PhoneNumberMobile { get; set; }
Property Value
PhoneNumberWork
Work phone number associated with the contact.
public string PhoneNumberWork { get; set; }
Property Value
Methods
ToString()
Converts contact data to human readable string.
public override string ToString()
Returns
- string
Contact in formant. {Name} [PhoneNumberMobile] [PhoneNumberWork] [PhoneNumberHome] [Email]