IContactLocationFieldFactory IContactLocationFieldFactory IContactLocationFieldFactory IContactLocationFieldFactory Interface

Definition

Note

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

Creates fields for a contact's location.

public : interface IContactLocationFieldFactorypublic interface IContactLocationFieldFactoryPublic Interface IContactLocationFieldFactory// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

CreateLocation(String) CreateLocation(String) CreateLocation(String) CreateLocation(String)

Note

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

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

public : ContactLocationField CreateLocation(PlatForm::String unstructuredAddress)public ContactLocationField CreateLocation(String unstructuredAddress)Public Function CreateLocation(unstructuredAddress As String) As ContactLocationField// You can use this method in JavaScript.
Parameters
unstructuredAddress
PlatForm::String String String String

The address of the contact in an unstructured format.

Returns
See Also

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

Note

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

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

public : ContactLocationField CreateLocation(PlatForm::String unstructuredAddress, ContactFieldCategory category)public ContactLocationField CreateLocation(String unstructuredAddress, ContactFieldCategory category)Public Function CreateLocation(unstructuredAddress As String, category As ContactFieldCategory) As ContactLocationField// You can use this method in JavaScript.
Parameters
unstructuredAddress
PlatForm::String String String String

The address of the contact in an unstructured format.

Returns
See Also

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

Note

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

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

public : ContactLocationField CreateLocation(PlatForm::String unstructuredAddress, ContactFieldCategory category, PlatForm::String street, PlatForm::String city, PlatForm::String region, PlatForm::String country, PlatForm::String postalCode)public ContactLocationField CreateLocation(String unstructuredAddress, ContactFieldCategory category, String street, String city, String region, String country, String 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// You can use this method in JavaScript.
Parameters
unstructuredAddress
PlatForm::String String String String

The address of the contact in an unstructured format.

street
PlatForm::String String String String

The street address.

city
PlatForm::String String String String

The name of the city for the address.

region
PlatForm::String String String String

The name of the region for the address.

country
PlatForm::String String String String

The name of the country for the address.

postalCode
PlatForm::String String String String

The postal code for the address.

Returns
See Also