ContactAddress ContactAddress ContactAddress ContactAddress ContactAddress Class

Definition

Represents the address of a contact.

public : sealed class ContactAddress : IContactAddress
struct winrt::Windows::ApplicationModel::Contacts::ContactAddress : IContactAddress
public sealed class ContactAddress : IContactAddress
Public NotInheritable Class ContactAddress Implements IContactAddress
var contactAddress = new contactAddress();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Remarks

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

Constructors

ContactAddress() ContactAddress() ContactAddress() ContactAddress() ContactAddress()

Initializes a new instance of a ContactAddress class.

Properties

Country Country Country Country Country

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

Description Description Description Description Description

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

Kind Kind Kind Kind Kind

Gets and sets the kind of contact address.

Locality Locality Locality Locality Locality

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

PostalCode PostalCode PostalCode PostalCode PostalCode

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

Region Region Region Region Region

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

StreetAddress StreetAddress StreetAddress StreetAddress StreetAddress

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

See Also