Phone Class

Definition

Represents a telephone number.

public class Phone : Microsoft.Health.ItemTypes.HealthRecordItemData
Inheritance

Constructors

Phone()

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

Phone(String)

Creates a new instance of the Phone class with the specified phone number.

Phone(String, String, Boolean)

Creates a new instance of the Phone class with the specified phone number, description, primary designation.

Properties

Description

Gets or sets the description for the telephone number.

IsPrimary

Gets or sets a value indicating whether the telephone number is the primary number for the person.

Number

Gets or sets the telephone number.

Methods

ParseXml(XPathNavigator)

Populates the data from the specified XML.

WriteXml(String, XmlWriter)

Writes the XML representation of the telephone number into the specified XML writer.