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.

Is​Primary

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

Parse​Xml(​XPath​Navigator)

Populates the data from the specified XML.

Write​Xml(​String, ​Xml​Writer)

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