Udostępnij za pośrednictwem


ContactInformation.QueryCustomFields(String) Method

Definition

Enables you to get the value for a custom field that is stored with a contact.

Note

ContactInformation may be altered or unavailable for releases after Windows 8.1. Instead, use Contact.

public:
 virtual IVectorView<ContactField ^> ^ QueryCustomFields(Platform::String ^ customName) = QueryCustomFields;
IVectorView<ContactField> QueryCustomFields(winrt::hstring const& customName);
public IReadOnlyList<ContactField> QueryCustomFields(string customName);
function queryCustomFields(customName)
Public Function QueryCustomFields (customName As String) As IReadOnlyList(Of ContactField)

Parameters

customName
String

Platform::String

winrt::hstring

The name of the field.

Returns

The value of the field.

Windows requirements

App capabilities
contactsSystem

Applies to