I​Contact​Location​Field​Factory I​Contact​Location​Field​Factory I​Contact​Location​Field​Factory 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
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)

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 ContactLocationField
Parameters
unstructuredAddress
System.String System.String System.String

The address of the contact in an unstructured format.

Returns

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

Attributes

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 ContactLocationField
Parameters
unstructuredAddress
System.String System.String System.String

The address of the contact in an unstructured format.

category
ContactFieldCategory ContactFieldCategory ContactFieldCategory

The category the field belongs to.

Returns

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

Attributes

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 ContactLocationField
Parameters
unstructuredAddress
System.String System.String System.String

The address of the contact in an unstructured format.

category
ContactFieldCategory ContactFieldCategory ContactFieldCategory

The category the field belongs to.

street
System.String System.String System.String

The street address.

city
System.String System.String System.String

The name of the city for the address.

region
System.String System.String System.String

The name of the region for the address.

country
System.String System.String System.String

The name of the country for the address.

postalCode
System.String System.String System.String

The postal code for the address.

Returns

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

Attributes