ContactInfo ContactInfo ContactInfo Class


Represents information about a contact person.

public class ContactInfo : Microsoft.Health.ItemTypes.HealthRecordItemData
type ContactInfo = class
    inherit HealthRecordItemData
Public Class ContactInfo
Inherits HealthRecordItemData


ContactInfo() ContactInfo() ContactInfo()

Creates a new instance of the ContactInfo class with default values.


Address Address Address

Gets the addresses for the contact.

Email Email Email

Gets the email addresses for the contact.

Phone Phone Phone

Gets the telephone numbers for the contact.

PrimaryAddress PrimaryAddress PrimaryAddress

Gets the first address that is marked as IsPrimary".

PrimaryEmail PrimaryEmail PrimaryEmail

Gets the first email that is marked as IsPrimary.

PrimaryPhone PrimaryPhone PrimaryPhone

Gets the first telephone number that is marked as IsPrimary.


ParseXml(XPathNavigator) ParseXml(XPathNavigator) ParseXml(XPathNavigator)

Populates the data from the specified XML.

ToString() ToString() ToString()

Gets a string representation of the contact information.

WriteXml(String, XmlWriter) WriteXml(String, XmlWriter) WriteXml(String, XmlWriter)

Writes the XML representation of the contact information into the specified XML writer.

Applies to