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 IContactLocationFieldFactory
public interface IContactLocationFieldFactory
Public Interface IContactLocationFieldFactory
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

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
var contactLocationField = iContactLocationFieldFactory.createLocation(unstructuredAddress);
Parameters
unstructuredAddress
Platform::String String String String

The address of the contact in an unstructured format.

Returns
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem
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
var contactLocationField = iContactLocationFieldFactory.createLocation(unstructuredAddress, category);
Parameters
unstructuredAddress
Platform::String String String String

The address of the contact in an unstructured format.

Returns
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem
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
var contactLocationField = iContactLocationFieldFactory.createLocation(unstructuredAddress, category, street, city, region, country, postalCode);
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
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem
See Also