ContactSignificantOther 类

定义

表示有关联系人的重要其他信息。

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
继承
Object Platform::Object IInspectable ContactSignificantOther
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
contactsSystem

构造函数

ContactSignificantOther()

初始化 ContactSignificantOther 类的新实例。

属性

Description

获取或设置联系人的重要其他内容的说明。 说明的最大字符串长度为 512 个字符。

Name

获取或设置联系人的重要其他联系人的名称。 名称的最大字符串长度为 256 个字符。

Relationship

获取或设置一个值,该值指示关系的性质,例如配偶、伴侣、兄弟姐妹、父母等。

适用于

另请参阅