Compartilhar via


KnownContactField.InstantMessage Propriedade

Definição

Contém o nome do campo usado para contas de mensagens instantâneas.

Observação

KnownContactField pode ser alterado ou indisponível para versões após Windows 8.1. Em vez disso, use ContactAddress, ContactPhone, ContactConnectedServiceAccount ou 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

Valor da propriedade

String

Platform::String

winrt::hstring

O nome do campo.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
contactsSystem

Comentários

Use essa propriedade com a propriedade ContactPicker.DesiredFields para especificar que você deseja obter os nomes de mensagens instantâneas que um contato usa.

Aplica-se a