Bagikan melalui


ContactPickerUI.DesiredFields Properti

Definisi

Menentukan bidang yang ingin Anda kembalikan setelah pengguna memilih satu atau beberapa kontak.

Catatan

DesiredFields dapat diubah atau tidak tersedia untuk rilis setelah Windows 8.1. Sebagai gantinya, gunakan 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)

Nilai Properti

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

Kumpulan bidang yang ingin Anda kembalikan. Anda dapat menentukan bidang mana yang Anda inginkan melalui kelas KnownContactField .

Atribut

Persyaratan Windows

Kemampuan aplikasi
contactsSystem

Berlaku untuk