ContactLocationField 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class ContactLocationField sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Contacts.IContactLocationFieldFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactLocationField final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Contacts.IContactLocationFieldFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class ContactLocationField final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Contacts.IContactLocationFieldFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactLocationField
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Contacts.IContactLocationFieldFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ContactLocationField
function ContactLocationField(unstructuredAddress, category, street, city, region, country, postalCode)
Public NotInheritable Class ContactLocationField
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
應用程式功能 |
contactsSystem
|
備註
當連絡人提供者傳回要求的連絡人資訊時,您的應用程式會收到 ContactLocationField 物件的集合。 您可以透過 ContactInformation.Location 屬性來存取這些物件。
建構函式
ContactLocationField(String, ContactFieldCategory, String, String, String, String, String) |
建立新的 ContactLocationField物件。 注意 IContactLocationFieldFactory可能會在Windows 8.1之後變更或無法使用版本。 請改用 ContactAddress。 |
ContactLocationField(String, ContactFieldCategory) |
建立新的 ContactLocationField物件。 注意 IContactLocationFieldFactory可能會在Windows 8.1之後變更或無法使用版本。 請改用 ContactAddress。 |
ContactLocationField(String) |
建立新的 ContactLocationField物件。 注意 IContactLocationFieldFactory可能會在Windows 8.1之後變更或無法使用版本。 請改用 ContactAddress。 |