다음을 통해 공유


KnownContactField.PhoneNumber 속성

정의

전화 번호에 사용되는 필드의 이름을 포함합니다.

참고

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

public:
 static property Platform::String ^ PhoneNumber { Platform::String ^ get(); };
/// [get: 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 PhoneNumber();
/// [get: 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 PhoneNumber();
public static string PhoneNumber { [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))] get; }
public static string PhoneNumber { [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")] get; }
var string = KnownContactField.phoneNumber;
Public Shared ReadOnly Property PhoneNumber As String

속성 값

String

Platform::String

winrt::hstring

필드의 이름입니다.

특성

Windows 요구 사항

앱 기능
contactsSystem

설명

연락처의 전화 번호를 가져올지 지정하려면 ContactPicker.DesiredFields 속성과 함께 이 속성을 사용합니다.

적용 대상