共用方式為


ContactRelationship 列舉

定義

定義值,這個值表示連絡人關係的性質,例如親親、夥伴、同層級、父系等等。

public enum class ContactRelationship
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ContactRelationship
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ContactRelationship
var value = Windows.ApplicationModel.Contacts.ContactRelationship.other
Public Enum ContactRelationship
繼承
ContactRelationship
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
contactsSystem

欄位

Child 5

子系

Other 0

其他

Parent 4

Parent

Partner 2

Partner

Sibling 3

兄弟

Spouse 1

配偶

適用於