Freigeben über


KnownContactField.ConvertTypeToName(ContactFieldType) Methode

Definition

Konvertiert den Typ eines Felds in den entsprechenden Zeichenfolgennamen.

Hinweis

KnownContactField kann nach Windows 8.1 geändert oder nicht mehr für Releases verfügbar sein. Verwenden Sie stattdessen ContactAddress, ContactPhone, ContactConnectedServiceAccount oder 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

Parameter

type
ContactFieldType

Der Feldtyp.

Gibt zurück

String

Platform::String

winrt::hstring

Der Name des Felds.

Attribute

Windows-Anforderungen

App-Funktionen
contactsSystem

Gilt für: