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

配偶

适用于