ContactCardOptions 类

定义

表示有关如何显示微型触点卡的数据。

public ref class ContactCardOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactCardOptions final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class ContactCardOptions final
[Windows.Foundation.Metadata.Activatable(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 ContactCardOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ContactCardOptions
function ContactCardOptions()
Public NotInheritable Class ContactCardOptions
继承
Object Platform::Object IInspectable ContactCardOptions
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
contactsSystem

注解

版本历史记录

Windows 版本 SDK 版本 增值
1511 10586 ServerSearchContactListIds

构造函数

ContactCardOptions()

初始化 ContactCardOptions 类的新实例。

属性

HeaderKind

获取或设置一个值,该值指定要在联系人卡上显示的标头的类型。

InitialTabKind

获取或设置一个值,该值指示在小型联系人卡首先显示的选项卡。

ServerSearchContactListIds

获取一个列表,可在其中添加 ContactList.Id 值以在服务器上搜索。

适用于