ContactPickerUI.DesiredFields 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定要在用户选择一个或多个联系人后返回的字段。
注意
在Windows 8.1后,DesiredFields 可能会更改或不可用于发布。 请改用 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)
属性值
要返回的字段的集合。 可以通过 KnownContactField 类指定所需的字段。
- 属性
Windows 要求
应用功能 |
contactsSystem
|