다음을 통해 공유


ContactPickerUI.DesiredFields 속성

정의

사용자가 하나 이상의 연락처를 선택한 후 반환할 필드를 지정합니다.

참고

DesiredFields는 Windows 8.1 후 릴리스에서 변경되거나 사용할 수 없습니다. 대신 DesiredFieldsWithContactFieldType을 사용합니다.

public:
 property IVectorView<Platform::String ^> ^ DesiredFields { IVectorView<Platform::String ^> ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("DesiredFields may be altered or unavailable for releases after Windows 8.1. Instead, use DesiredFieldsWithContactFieldType.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
IVectorView<winrt::hstring> DesiredFields();
/// [get: Windows.Foundation.Metadata.Deprecated("DesiredFields may be altered or unavailable for releases after Windows 8.1. Instead, use DesiredFieldsWithContactFieldType.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
IVectorView<winrt::hstring> DesiredFields();
public IReadOnlyList<string> DesiredFields { [Windows.Foundation.Metadata.Deprecated("DesiredFields may be altered or unavailable for releases after Windows 8.1. Instead, use DesiredFieldsWithContactFieldType.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public IReadOnlyList<string> DesiredFields { [Windows.Foundation.Metadata.Deprecated("DesiredFields may be altered or unavailable for releases after Windows 8.1. Instead, use DesiredFieldsWithContactFieldType.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var iVectorView = contactPickerUI.desiredFields;
Public ReadOnly Property DesiredFields As IReadOnlyList(Of String)

속성 값

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

반환하려는 필드의 컬렉션입니다. KnownContactField 클래스를 통해 원하는 필드를 지정할 수 있습니다.

특성

Windows 요구 사항

앱 기능
contactsSystem

적용 대상