Condividi tramite


KnownContactField.Email Proprietà

Definizione

Contiene il nome del campo utilizzato per gli indirizzi di posta elettronica.

Nota

NotoContactField 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 ^ Email { 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 Email();
/// [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 Email();
public static string Email { [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 Email { [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.email;
Public Shared ReadOnly Property Email 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 gli indirizzi di posta elettronica di un contatto.

Si applica a