ContactLocationField 构造函数

定义

重载

ContactLocationField(String)

创建新的 ContactLocationField对象。

注意

IContactLocationFieldFactory 可能会在Windows 8.1后更改或不可用。 请改用 ContactAddress

ContactLocationField(String, ContactFieldCategory)

创建新的 ContactLocationField对象。

注意

IContactLocationFieldFactory 可能会在Windows 8.1后更改或不可用。 请改用 ContactAddress

ContactLocationField(String, ContactFieldCategory, String, String, String, String, String)

创建新的 ContactLocationField对象。

注意

IContactLocationFieldFactory 可能会在Windows 8.1后更改或不可用。 请改用 ContactAddress

ContactLocationField(String)

创建新的 ContactLocationField对象。

注意

IContactLocationFieldFactory 可能会在Windows 8.1后更改或不可用。 请改用 ContactAddress

public:
 ContactLocationField(Platform::String ^ unstructuredAddress);
 ContactLocationField(winrt::hstring const& unstructuredAddress);
public ContactLocationField(string unstructuredAddress);
function ContactLocationField(unstructuredAddress)
Public Sub New (unstructuredAddress As String)

参数

unstructuredAddress
String

Platform::String

winrt::hstring

非结构化格式的联系人地址。

Windows 要求

应用功能
contactsSystem

另请参阅

适用于

ContactLocationField(String, ContactFieldCategory)

创建新的 ContactLocationField对象。

注意

IContactLocationFieldFactory 可能会在Windows 8.1后更改或不可用。 请改用 ContactAddress

public:
 ContactLocationField(Platform::String ^ unstructuredAddress, ContactFieldCategory category);
 ContactLocationField(winrt::hstring const& unstructuredAddress, ContactFieldCategory const& category);
public ContactLocationField(string unstructuredAddress, ContactFieldCategory category);
function ContactLocationField(unstructuredAddress, category)
Public Sub New (unstructuredAddress As String, category As ContactFieldCategory)

参数

unstructuredAddress
String

Platform::String

winrt::hstring

非结构化格式的联系人地址。

category
ContactFieldCategory

字段所属的类别。

Windows 要求

应用功能
contactsSystem

另请参阅

适用于

ContactLocationField(String, ContactFieldCategory, String, String, String, String, String)

创建新的 ContactLocationField对象。

注意

IContactLocationFieldFactory 可能会在Windows 8.1后更改或不可用。 请改用 ContactAddress

public:
 ContactLocationField(Platform::String ^ unstructuredAddress, ContactFieldCategory category, Platform::String ^ street, Platform::String ^ city, Platform::String ^ region, Platform::String ^ country, Platform::String ^ postalCode);
 ContactLocationField(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);
public ContactLocationField(string unstructuredAddress, ContactFieldCategory category, string street, string city, string region, string country, string postalCode);
function ContactLocationField(unstructuredAddress, category, street, city, region, country, postalCode)
Public Sub New (unstructuredAddress As String, category As ContactFieldCategory, street As String, city As String, region As String, country As String, postalCode As String)

参数

unstructuredAddress
String

Platform::String

winrt::hstring

非结构化格式的联系人地址。

category
ContactFieldCategory

联系人数据的类别。

street
String

Platform::String

winrt::hstring

联系人的街道地址。

city
String

Platform::String

winrt::hstring

此联系人地址的城市名称。

region
String

Platform::String

winrt::hstring

此联系人地址的区域名称。

country
String

Platform::String

winrt::hstring

此联系人地址的国家/地区的名称。

postalCode
String

Platform::String

winrt::hstring

此联系人地址的邮政编码。

Windows 要求

应用功能
contactsSystem

另请参阅

适用于