Jaa


IContactLocationFieldFactory.CreateLocation Method

Definition

Overloads

CreateLocation(String)

Creates a field to contain information about a contact's location.

Note

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

CreateLocation(String, ContactFieldCategory)

Creates a field to contain information about a contact's location.

Note

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

CreateLocation(String, ContactFieldCategory, String, String, String, String, String)

Creates a field to contain information about a contact's location.

Note

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

CreateLocation(String)

Creates a field to contain information about a contact's location.

Note

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

public:
 ContactLocationField ^ CreateLocation(Platform::String ^ unstructuredAddress);
/// [Windows.Foundation.Metadata.Overload("CreateLocation_Default")]
ContactLocationField CreateLocation(winrt::hstring const& unstructuredAddress);
[Windows.Foundation.Metadata.Overload("CreateLocation_Default")]
public ContactLocationField CreateLocation(string unstructuredAddress);
function createLocation(unstructuredAddress)
Public Function CreateLocation (unstructuredAddress As String) As ContactLocationField

Parameters

unstructuredAddress
String

Platform::String

winrt::hstring

The address of the contact in an unstructured format.

Returns

A location field that you can add to a Contact object.

Attributes

Windows requirements

App capabilities
contactsSystem

See also

Applies to

CreateLocation(String, ContactFieldCategory)

Creates a field to contain information about a contact's location.

Note

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

public:
 ContactLocationField ^ CreateLocation(Platform::String ^ unstructuredAddress, ContactFieldCategory category);
/// [Windows.Foundation.Metadata.Overload("CreateLocation_Category")]
ContactLocationField CreateLocation(winrt::hstring const& unstructuredAddress, ContactFieldCategory const& category);
[Windows.Foundation.Metadata.Overload("CreateLocation_Category")]
public ContactLocationField CreateLocation(string unstructuredAddress, ContactFieldCategory category);
function createLocation(unstructuredAddress, category)
Public Function CreateLocation (unstructuredAddress As String, category As ContactFieldCategory) As ContactLocationField

Parameters

unstructuredAddress
String

Platform::String

winrt::hstring

The address of the contact in an unstructured format.

category
ContactFieldCategory

The category the field belongs to.

Returns

A location field that you can add to a Contact object.

Attributes

Windows requirements

App capabilities
contactsSystem

See also

Applies to

CreateLocation(String, ContactFieldCategory, String, String, String, String, String)

Creates a field to contain information about a contact's location.

Note

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

public:
 ContactLocationField ^ CreateLocation(Platform::String ^ unstructuredAddress, ContactFieldCategory category, Platform::String ^ street, Platform::String ^ city, Platform::String ^ region, Platform::String ^ country, Platform::String ^ postalCode);
/// [Windows.Foundation.Metadata.Overload("CreateLocation_All")]
ContactLocationField CreateLocation(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);
[Windows.Foundation.Metadata.Overload("CreateLocation_All")]
public ContactLocationField CreateLocation(string unstructuredAddress, ContactFieldCategory category, string street, string city, string region, string country, string postalCode);
function createLocation(unstructuredAddress, category, street, city, region, country, postalCode)
Public Function CreateLocation (unstructuredAddress As String, category As ContactFieldCategory, street As String, city As String, region As String, country As String, postalCode As String) As ContactLocationField

Parameters

unstructuredAddress
String

Platform::String

winrt::hstring

The address of the contact in an unstructured format.

category
ContactFieldCategory

The category the field belongs to.

street
String

Platform::String

winrt::hstring

The street address.

city
String

Platform::String

winrt::hstring

The name of the city for the address.

region
String

Platform::String

winrt::hstring

The name of the region for the address.

country
String

Platform::String

winrt::hstring

The name of the country for the address.

postalCode
String

Platform::String

winrt::hstring

The postal code for the address.

Returns

A location field that you can add to a Contact object.

Attributes

Windows requirements

App capabilities
contactsSystem

See also

Applies to