共用方式為


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 值以在伺服器上搜尋。

適用於