다음을 통해 공유


KnownContactField.ConvertNameToType(String) 메서드

정의

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

참고

KnownContactField는 Windows 8.1 후 릴리스에서 변경되거나 사용할 수 없습니다. 대신 ContactAddress, ContactPhone, ContactConnectedServiceAccount 또는 ContactEmail을 사용합니다.

public:
 static ContactFieldType ConvertNameToType(Platform::String ^ name);
/// [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 ContactFieldType ConvertNameToType(winrt::hstring const& name);
/// [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 ContactFieldType ConvertNameToType(winrt::hstring const& name);
[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 ContactFieldType ConvertNameToType(string name);
[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 ContactFieldType ConvertNameToType(string name);
function convertNameToType(name)
Public Shared Function ConvertNameToType (name As String) As ContactFieldType

매개 변수

name
String

Platform::String

winrt::hstring

필드의 이름입니다.

반환

필드의 형식입니다.

특성

Windows 요구 사항

앱 기능
contactsSystem

적용 대상