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 IContactLocationFieldFactorypublic interface IContactLocationFieldFactory
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(String unstructuredAddress)public ContactLocationField CreateLocation(String unstructuredAddress)Public Function CreateLocation(unstructuredAddress As String) As ContactLocationFieldpublic ContactLocationField CreateLocation(String unstructuredAddress)
Parameters
unstructuredAddress
System.String System.String System.String System.String

The address of the contact in an unstructured format.

Returns
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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(String unstructuredAddress, ContactFieldCategory category)public ContactLocationField CreateLocation(String unstructuredAddress, ContactFieldCategory category)Public Function CreateLocation(unstructuredAddress As String, category As ContactFieldCategory) As ContactLocationFieldpublic ContactLocationField CreateLocation(String unstructuredAddress, ContactFieldCategory category)
Parameters
unstructuredAddress
System.String System.String System.String System.String

The address of the contact in an unstructured format.

Returns
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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(String unstructuredAddress, ContactFieldCategory category, String street, String city, String region, String country, 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 ContactLocationFieldpublic ContactLocationField CreateLocation(String unstructuredAddress, ContactFieldCategory category, String street, String city, String region, String country, String postalCode)
Parameters
unstructuredAddress
System.String System.String System.String System.String

The address of the contact in an unstructured format.

street
System.String System.String System.String System.String

The street address.

city
System.String System.String System.String System.String

The name of the city for the address.

region
System.String System.String System.String System.String

The name of the region for the address.

country
System.String System.String System.String System.String

The name of the country for the address.

postalCode
System.String System.String System.String System.String

The postal code for the address.

Returns
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)