ContactAddress ContactAddress ContactAddress ContactAddress Class

Definition

Represents a civic address for StoredContact objects.

public : sealed class ContactAddress : IContactAddress
public sealed class ContactAddress : IContactAddress
Public NotInheritable Class ContactAddress Implements IContactAddress
var contactAddress = new contactAddress();
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]

Constructors

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

Initializes a new instance of the ContactAddress class.

public : ContactAddress()
public ContactAddress()
Public Sub New()
var contactAddress = new contactAddress();
Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]

Properties

Country Country Country Country

Gets or sets the country associated with a contact address.

public : Platform::String Country { get; set; }
public string Country { get; set; }
Public ReadWrite Property Country As string
var string = contactAddress.country;
contactAddress.country = string;
Value
Platform::String string string string

The country associated with a contact address.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]

Locality Locality Locality Locality

Gets or sets the locality of a contact address.

public : Platform::String Locality { get; set; }
public string Locality { get; set; }
Public ReadWrite Property Locality As string
var string = contactAddress.locality;
contactAddress.locality = string;
Value
Platform::String string string string

The locality of a contact address.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]

PostalCode PostalCode PostalCode PostalCode

Gets or sets postal code associated with a contact address.

public : Platform::String PostalCode { get; set; }
public string PostalCode { get; set; }
Public ReadWrite Property PostalCode As string
var string = contactAddress.postalCode;
contactAddress.postalCode = string;
Value
Platform::String string string string

The postal code associated with a contact address.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]

Region Region Region Region

Gets or sets the region associated with a contact address.

public : Platform::String Region { get; set; }
public string Region { get; set; }
Public ReadWrite Property Region As string
var string = contactAddress.region;
contactAddress.region = string;
Value
Platform::String string string string

The region associated with a contact address.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]

StreetAddress StreetAddress StreetAddress StreetAddress

Gets or sets street address associated with a contact address.

public : Platform::String StreetAddress { get; set; }
public string StreetAddress { get; set; }
Public ReadWrite Property StreetAddress As string
var string = contactAddress.streetAddress;
contactAddress.streetAddress = string;
Value
Platform::String string string string

The street address associated with a contact address.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]