ContactPickerUI.DesiredFields Proprietà

Definizione

Specifica i campi restituiti dopo che l'utente seleziona uno o più contatti.

Nota

DesiredFields può essere modificato o non disponibile per le versioni dopo Windows 8.1. Usare invece 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)

Valore della proprietà

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

Raccolta di campi che si desidera restituire. È possibile specificare i campi desiderati tramite la classe KnownContactField .

Attributi

Requisiti Windows

Funzionalità dell'app
contactsSystem

Si applica a