Share via


ContactSignificantOther Class

Definition

Represents the info about a significant other for a contact.

public ref class ContactSignificantOther 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 ContactSignificantOther 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 ContactSignificantOther 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 ContactSignificantOther
[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 ContactSignificantOther
function ContactSignificantOther()
Public NotInheritable Class ContactSignificantOther
Inheritance
Object Platform::Object IInspectable ContactSignificantOther
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

Constructors

ContactSignificantOther()

Initializes a new instance of a ContactSignificantOther class.

Properties

Description

Gets or sets the description of a significant other for a contact. The maximum string length for the description is 512 characters.

Name

Gets or sets the name of a significant other for a contact. The maximum string length for the name is 256 characters.

Relationship

Gets or sets a value that indicates the nature of the relationship, such as spouse, partner, sibling, parent and so on.

Applies to

See also