Compartilhar via


KnownContactField.ConvertTypeToName(ContactFieldType) Método

Definição

Converte o tipo de um campo em seu nome de cadeia de caracteres correspondente.

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 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

O tipo de campo.

Retornos

String

Platform::String

winrt::hstring

O nome do campo.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
contactsSystem

Aplica-se a