KnownContactField.InstantMessage 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含用于即时消息帐户的字段的名称。
注意
在Windows 8.1后,KnownContactField 可能会更改或不可用。 请改用 ContactAddress、 ContactPhone、 ContactConnectedServiceAccount 或 ContactEmail。
public:
static property Platform::String ^ InstantMessage { Platform::String ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("IKnownContactFieldStatics may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount or ContactEmail.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
static winrt::hstring InstantMessage();
/// [get: Windows.Foundation.Metadata.Deprecated("IKnownContactFieldStatics may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount or ContactEmail.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
static winrt::hstring InstantMessage();
public static string InstantMessage { [Windows.Foundation.Metadata.Deprecated("IKnownContactFieldStatics may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount or ContactEmail.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public static string InstantMessage { [Windows.Foundation.Metadata.Deprecated("IKnownContactFieldStatics may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount or ContactEmail.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var string = KnownContactField.instantMessage;
Public Shared ReadOnly Property InstantMessage As String
属性值
字段的名称。
- 属性
Windows 要求
应用功能 |
contactsSystem
|
注解
将此属性与 ContactPicker.DesiredFields 属性结合使用,可指定要获取联系人使用的即时消息名称。