다음을 통해 공유


KnownContactField.ConvertTypeToName(ContactFieldType) 메서드

정의

필드의 형식을 해당 문자열 이름으로 변환합니다.

참고

KnownContactField는 Windows 8.1 후 릴리스에서 변경되거나 사용할 수 없습니다. 대신 ContactAddress, ContactPhone, ContactConnectedServiceAccount 또는 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

매개 변수

type
ContactFieldType

필드의 형식입니다.

반환

String

Platform::String

winrt::hstring

필드의 이름입니다.

특성

Windows 요구 사항

앱 기능
contactsSystem

적용 대상