ContactAddress class

Applies to Windows and Windows Phone

Represents the address of a contact.

Syntax


var contactAddress = new Windows.ApplicationModel.Contacts.ContactAddress();

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The ContactAddress class has these types of members:

Constructors

The ContactAddress class has these constructors.

ConstructorDescription
ContactAddress Initializes a new instance of a ContactAddress class.

 

Properties

The ContactAddress class has these properties.

PropertyAccess typeDescription

Country

Read/writeGets and sets the country of a contact address. The maximum string length for the country is 1024 characters.

Description

Read/writeGets and sets the description of a contact address. The maximum string length for the description is 512 characters.

Kind

Read/writeGets and sets the kind of contact address.

Locality

Read/writeGets and sets the locality of a contact address. The maximum string length for the locality is 1024 characters.

PostalCode

Read/writeGets and sets the postal code of a contact address. The maximum string length for the postal code is 1024 characters.

Region

Read/writeGets and sets the region of a contact address. The maximum string length for the region is 1024 characters.

StreetAddress

Read/writeGets and sets the street address of a contact address. The maximum string length for the street address is 1024 characters.

 

Remarks

For info about how to handle app activation through contact actions, see Quickstart: Handling contact actions (XAML) and Quickstart: Handling contact actions (HTML).

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Contacts
Windows::ApplicationModel::Contacts [C++]

Metadata

Windows.winmd

See also

Handling Contact Actions sample
Addresses
Object

 

 

Show:
© 2014 Microsoft