Udostępnij za pośrednictwem


ContactLocationField Constructors

Definition

Overloads

ContactLocationField(String)

Creates a new ContactLocationFieldobject.

Note

IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress.

ContactLocationField(String, ContactFieldCategory)

Creates a new ContactLocationFieldobject.

Note

IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress.

ContactLocationField(String, ContactFieldCategory, String, String, String, String, String)

Creates a new ContactLocationFieldobject.

Note

IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress.

ContactLocationField(String)

Creates a new ContactLocationFieldobject.

Note

IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress.

public:
 ContactLocationField(Platform::String ^ unstructuredAddress);
 ContactLocationField(winrt::hstring const& unstructuredAddress);
public ContactLocationField(string unstructuredAddress);
function ContactLocationField(unstructuredAddress)
Public Sub New (unstructuredAddress As String)

Parameters

unstructuredAddress
String

Platform::String

winrt::hstring

The address of the contact in an unstructured format.

Windows requirements

App capabilities
contactsSystem

See also

Applies to

ContactLocationField(String, ContactFieldCategory)

Creates a new ContactLocationFieldobject.

Note

IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress.

public:
 ContactLocationField(Platform::String ^ unstructuredAddress, ContactFieldCategory category);
 ContactLocationField(winrt::hstring const& unstructuredAddress, ContactFieldCategory const& category);
public ContactLocationField(string unstructuredAddress, ContactFieldCategory category);
function ContactLocationField(unstructuredAddress, category)
Public Sub New (unstructuredAddress As String, category As ContactFieldCategory)

Parameters

unstructuredAddress
String

Platform::String

winrt::hstring

The address of the contact in an unstructured format.

category
ContactFieldCategory

The category the field belongs to.

Windows requirements

App capabilities
contactsSystem

See also

Applies to

ContactLocationField(String, ContactFieldCategory, String, String, String, String, String)

Creates a new ContactLocationFieldobject.

Note

IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress.

public:
 ContactLocationField(Platform::String ^ unstructuredAddress, ContactFieldCategory category, Platform::String ^ street, Platform::String ^ city, Platform::String ^ region, Platform::String ^ country, Platform::String ^ postalCode);
 ContactLocationField(winrt::hstring const& unstructuredAddress, ContactFieldCategory const& category, winrt::hstring const& street, winrt::hstring const& city, winrt::hstring const& region, winrt::hstring const& country, winrt::hstring const& postalCode);
public ContactLocationField(string unstructuredAddress, ContactFieldCategory category, string street, string city, string region, string country, string postalCode);
function ContactLocationField(unstructuredAddress, category, street, city, region, country, postalCode)
Public Sub New (unstructuredAddress As String, category As ContactFieldCategory, street As String, city As String, region As String, country As String, postalCode As String)

Parameters

unstructuredAddress
String

Platform::String

winrt::hstring

The address of the contact in an unstructured format.

category
ContactFieldCategory

The category for the contact data.

street
String

Platform::String

winrt::hstring

The street address of the contact.

city
String

Platform::String

winrt::hstring

The name of the city for this contact's address.

region
String

Platform::String

winrt::hstring

The name of the region for this contact's address.

country
String

Platform::String

winrt::hstring

The name of the country for this contact's address.

postalCode
String

Platform::String

winrt::hstring

The postal code for this contact's address.

Windows requirements

App capabilities
contactsSystem

See also

Applies to