ContactRelationship Enum

Definition

Defines a value that indicates the nature of a contact relationship, such as spouse, partner, sibling, parent and so on.

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
Inheritance
ContactRelationship
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
contactsSystem

Fields

Name Value Description
Other 0

Other

Spouse 1

Spouse

Partner 2

Partner

Sibling 3

Sibling

Parent 4

Parent

Child 5

Child

Applies to