ContactAddress ContactAddress ContactAddress ContactAddress Class

Represents a civic address for StoredContact objects.

Syntax

Declaration

public sealed class ContactAddresspublic sealed class ContactAddressPublic NotInheritable Class ContactAddresspublic sealed class ContactAddress

Constructors summary

Initializes a new instance of the ContactAddress class.

Properties summary

Gets or sets the country associated with a contact address.

Gets or sets the locality of a contact address.

Gets or sets postal code associated with a contact address.

Gets or sets the region associated with a contact address.

Gets or sets street address associated with a contact address.

Constructors

  • ContactAddress()
    ContactAddress()
    ContactAddress()
    ContactAddress()

    Initializes a new instance of the ContactAddress class.

    public ContactAddress()public New()Public Sub New()public ContactAddress()

Properties

  • Country
    Country
    Country
    Country

    Gets or sets the country associated with a contact address.

    public string Country { get; set; }public string Country { get; set; }Public ReadWrite Property Country As stringpublic string Country { get; set; }

    Property Value

    • string
      string
      string
      string

      The country associated with a contact address.

  • Locality
    Locality
    Locality
    Locality

    Gets or sets the locality of a contact address.

    public string Locality { get; set; }public string Locality { get; set; }Public ReadWrite Property Locality As stringpublic string Locality { get; set; }

    Property Value

    • string
      string
      string
      string

      The locality of a contact address.

  • PostalCode
    PostalCode
    PostalCode
    PostalCode

    Gets or sets postal code associated with a contact address.

    public string PostalCode { get; set; }public string PostalCode { get; set; }Public ReadWrite Property PostalCode As stringpublic string PostalCode { get; set; }

    Property Value

    • string
      string
      string
      string

      The postal code associated with a contact address.

  • Region
    Region
    Region
    Region

    Gets or sets the region associated with a contact address.

    public string Region { get; set; }public string Region { get; set; }Public ReadWrite Property Region As stringpublic string Region { get; set; }

    Property Value

    • string
      string
      string
      string

      The region associated with a contact address.

  • StreetAddress
    StreetAddress
    StreetAddress
    StreetAddress

    Gets or sets street address associated with a contact address.

    public string StreetAddress { get; set; }public string StreetAddress { get; set; }Public ReadWrite Property StreetAddress As stringpublic string StreetAddress { get; set; }

    Property Value

    • string
      string
      string
      string

      The street address associated with a contact address.

Device family

Windows Mobile Extension SDK (introduced v10.0.10240.0)

API contract

Windows.Phone.PhoneContract (introduced v1)

Capabilities

ID_CAP_CONTACTS [Windows Phone]

Attributes

Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Phone.PersonalInformation.dll