Condividi tramite


KnownContactField.InstantMessage Proprietà

Definizione

Contiene il nome del campo utilizzato per gli account di messaggistica istantanea.

Nota

KnownContactField può essere modificato o non disponibile per le versioni dopo Windows 8.1. Usare invece ContactAddress, ContactPhone, ContactConnectedServiceAccount o 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

Valore della proprietà

String

Platform::String

winrt::hstring

Nome del campo.

Attributi

Requisiti Windows

Funzionalità dell'app
contactsSystem

Commenti

Utilizzare questa proprietà con la proprietà ContactPicker.DesiredFields per specificare che si desidera ottenere i nomi di messaggistica istantanea utilizzati da un contatto.

Si applica a