IContactLocationFieldFactory.CreateLocation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
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)
- CreateLocation(String, ContactFieldCategory, String, String, String, String, String)
適用於
CreateLocation(String, ContactFieldCategory)
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)
- CreateLocation(String, ContactFieldCategory, String, String, String, String, String)
適用於
CreateLocation(String, ContactFieldCategory, String, String, String, String, String)
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
|