Compartir a través de


KnownContactField.ConvertTypeToName(ContactFieldType) Método

Definición

Convierte el tipo de un campo en su nombre de cadena correspondiente.

Nota:

KnownContactField puede modificarse o no estar disponible para las versiones después de Windows 8.1. En su lugar, use ContactAddress, ContactPhone, ContactConnectedServiceAccount o ContactEmail.

public:
 static Platform::String ^ ConvertTypeToName(ContactFieldType type);
/// [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 ConvertTypeToName(ContactFieldType const& type);
/// [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 ConvertTypeToName(ContactFieldType const& type);
[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))]
public static string ConvertTypeToName(ContactFieldType type);
[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")]
public static string ConvertTypeToName(ContactFieldType type);
function convertTypeToName(type)
Public Shared Function ConvertTypeToName (type As ContactFieldType) As String

Parámetros

type
ContactFieldType

Tipo de campo.

Devoluciones

String

Platform::String

winrt::hstring

Nombre del campo.

Atributos

Requisitos de Windows

Características de aplicaciones
contactsSystem

Se aplica a