ContactSignificantOther
ContactSignificantOther
ContactSignificantOther
ContactSignificantOther
Class
Definition
Represents the info about a significant other for a contact.
public : sealed class ContactSignificantOther : IContactSignificantOther, IContactSignificantOther2public sealed class ContactSignificantOther : IContactSignificantOther, IContactSignificantOther2Public NotInheritable Class ContactSignificantOther Implements IContactSignificantOther, IContactSignificantOther2// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
ContactSignificantOther() ContactSignificantOther() ContactSignificantOther() ContactSignificantOther()
Initializes a new instance of a ContactSignificantOther class.
public : ContactSignificantOther()public ContactSignificantOther()Public Sub New()// You can use this method in JavaScript.
Properties
Description Description Description Description
Gets and sets the description of a significant other for a contact. The maximum string length for the description is 512 characters.
public : PlatForm::String Description { get; set; }public string Description { get; set; }Public ReadWrite Property Description As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The description of a significant other for a contact.
Name Name Name Name
Gets and sets the name of a significant other for a contact. The maximum string length for the name is 256 characters.
public : PlatForm::String Name { get; set; }public string Name { get; set; }Public ReadWrite Property Name As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The name of a significant other for a contact.
Relationship Relationship Relationship Relationship
Gets or puts a value that indicates the nature of the relationship, such as spouse, partner, sibling, parent and so on.
public : ContactRelationship Relationship { get; set; }public ContactRelationship Relationship { get; set; }Public ReadWrite Property Relationship As ContactRelationship// You can use this property in JavaScript.
A value that indicates the nature of the relationship, such as spouse, partner, sibling, parent and so on.