ContactBatch
ContactBatch
ContactBatch
ContactBatch
Class
Definition
public : sealed class ContactBatch : IContactBatchpublic sealed class ContactBatch : IContactBatchPublic NotInheritable Class ContactBatch Implements IContactBatch// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
If you are searching local contacts, keep processing until you get a ContactBatch that has an empty list of Contacts. If you are searching on a server and you get an empty Contacts list, check the Status to make sure there wasn't a server error.
Properties
Contacts Contacts Contacts Contacts
Gets the list of Contact objects returned by a search operation.
public : IVectorView<Contact> Contacts { get; }public IReadOnlyList<Contact> Contacts { get; }Public ReadOnly Property Contacts As IReadOnlyList<Contact>// You can use this property in JavaScript.
- Value
- IVectorView<Contact> IReadOnlyList<Contact> IReadOnlyList<Contact> IReadOnlyList<Contact>
The list of contacts returned by a search operation.
Status Status Status Status
Gets a ContactBatchStatus value that indicates if a search was successful or if there was a server error.
public : ContactBatchStatus Status { get; }public ContactBatchStatus Status { get; }Public ReadOnly Property Status As ContactBatchStatus// You can use this property in JavaScript.
A ContactBatchStatus value that indicates if a search was successful or if there was a server error.