Address Address Address Class

Definition

Represents a physical mailing address.

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

Constructors

Address() Address() Address()

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

Address(String, String, String) Address(String, String, String) Address(String, String, String)

Creates a new instance of the Address class with values for the mandatory properties.

Address(String, String, String, IEnumerable<String>) Address(String, String, String, IEnumerable<String>) Address(String, String, String, IEnumerable<String>)

Creates a new instance of the Address class with values for the mandatory properties.

Properties

City City City

Gets or sets the city.

Country Country Country

Gets or sets the country.

County County County

Gets or sets the county.

Description Description Description

Gets or sets the description for the address.

IsPrimary IsPrimary IsPrimary

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

PostalCode PostalCode PostalCode

Gets or sets the postal code.

State State State

Gets or sets the state.

Street Street Street

Gets the street number, name, apartment, and so on.

Methods

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

Populates the data from the specified XML.

ToString() ToString() ToString()

Gets a string representation of the address.

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

Writes the XML representation of the address into the specified XML writer.

Applies to