IContactLocationFieldFactory.CreateLocation メソッド

定義

オーバーロード

CreateLocation(String)

連絡先の場所に関する情報を含むフィールドを作成します。

注意

IContactLocationFieldFactory は、Windows 8.1後にリリースで変更または使用できない可能性があります。 代わりに、 ContactAddress を使用します

CreateLocation(String, ContactFieldCategory)

連絡先の場所に関する情報を含むフィールドを作成します。

注意

IContactLocationFieldFactory は、Windows 8.1後にリリースで変更または使用できない可能性があります。 代わりに、 ContactAddress を使用します

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

連絡先の場所に関する情報を含むフィールドを作成します。

注意

IContactLocationFieldFactory は、Windows 8.1後にリリースで変更または使用できない可能性があります。 代わりに、 ContactAddress を使用します

CreateLocation(String)

連絡先の場所に関する情報を含むフィールドを作成します。

注意

IContactLocationFieldFactory は、Windows 8.1後にリリースで変更または使用できない可能性があります。 代わりに、 ContactAddress を使用します

public:
 ContactLocationField ^ CreateLocation(Platform::String ^ unstructuredAddress);
/// [Windows.Foundation.Metadata.Overload("CreateLocation_Default")]
ContactLocationField CreateLocation(winrt::hstring const& unstructuredAddress);
[Windows.Foundation.Metadata.Overload("CreateLocation_Default")]
public ContactLocationField CreateLocation(string unstructuredAddress);
function createLocation(unstructuredAddress)
Public Function CreateLocation (unstructuredAddress As String) As ContactLocationField

パラメーター

unstructuredAddress
String

Platform::String

winrt::hstring

非構造化形式の連絡先のアドレス。

戻り値

Contact オブジェクトに追加できる場所フィールド。

属性

Windows の要件

アプリの機能
contactsSystem

こちらもご覧ください

適用対象

CreateLocation(String, ContactFieldCategory)

連絡先の場所に関する情報を含むフィールドを作成します。

注意

IContactLocationFieldFactory は、Windows 8.1後にリリースで変更または使用できない可能性があります。 代わりに、 ContactAddress を使用します

public:
 ContactLocationField ^ CreateLocation(Platform::String ^ unstructuredAddress, ContactFieldCategory category);
/// [Windows.Foundation.Metadata.Overload("CreateLocation_Category")]
ContactLocationField CreateLocation(winrt::hstring const& unstructuredAddress, ContactFieldCategory const& category);
[Windows.Foundation.Metadata.Overload("CreateLocation_Category")]
public ContactLocationField CreateLocation(string unstructuredAddress, ContactFieldCategory category);
function createLocation(unstructuredAddress, category)
Public Function CreateLocation (unstructuredAddress As String, category As ContactFieldCategory) As ContactLocationField

パラメーター

unstructuredAddress
String

Platform::String

winrt::hstring

非構造化形式の連絡先のアドレス。

category
ContactFieldCategory

フィールドが属するカテゴリ。

戻り値

Contact オブジェクトに追加できる場所フィールド。

属性

Windows の要件

アプリの機能
contactsSystem

こちらもご覧ください

適用対象

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

連絡先の場所に関する情報を含むフィールドを作成します。

注意

IContactLocationFieldFactory は、Windows 8.1後にリリースで変更または使用できない可能性があります。 代わりに、 ContactAddress を使用します

public:
 ContactLocationField ^ CreateLocation(Platform::String ^ unstructuredAddress, ContactFieldCategory category, Platform::String ^ street, Platform::String ^ city, Platform::String ^ region, Platform::String ^ country, Platform::String ^ postalCode);
/// [Windows.Foundation.Metadata.Overload("CreateLocation_All")]
ContactLocationField CreateLocation(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);
[Windows.Foundation.Metadata.Overload("CreateLocation_All")]
public ContactLocationField CreateLocation(string unstructuredAddress, ContactFieldCategory category, string street, string city, string region, string country, string postalCode);
function createLocation(unstructuredAddress, category, street, city, region, country, 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

パラメーター

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

住所の郵便番号。

戻り値

Contact オブジェクトに追加できる場所フィールド。

属性

Windows の要件

アプリの機能
contactsSystem

こちらもご覧ください

適用対象