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。 |