ContactInformation.QueryCustomFields(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
|