ContactQueryResult
ContactQueryResult
ContactQueryResult
ContactQueryResult
Class
Definition
Represents the result of a contact query.
public : sealed class ContactQueryResult : IContactQueryResultpublic sealed class ContactQueryResult : IContactQueryResultPublic NotInheritable Class ContactQueryResult Implements IContactQueryResult// You can use this class in JavaScript.
- Attributes
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| Capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
Methods
GetContactCountAsync() GetContactCountAsync() GetContactCountAsync() GetContactCountAsync()
Gets the number of contacts in the contact store.
public : IAsyncOperation<unsigned int> GetContactCountAsync()public IAsyncOperation<uint> GetContactCountAsync()Public Function GetContactCountAsync() As IAsyncOperation( Of uint )// You can use this method in JavaScript.
When this method completes, it returns the number of contacts in the contact store. If you use Asynchronous programming, the result type is an unsigned integer number.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| Capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
- See Also
GetContactsAsync() GetContactsAsync() GetContactsAsync() GetContactsAsync()
Retrieves contacts from the contact store.
public : IAsyncOperation<IVectorView<StoredContact>> GetContactsAsync()public IAsyncOperation<IReadOnlyList<StoredContact>> GetContactsAsync()Public Function GetContactsAsync() As IAsyncOperation( Of IReadOnlyListStoredContact )// You can use this method in JavaScript.
When this method completes, it returns an IVectorView containing StoredContact objects. If you use Asynchronous programming, the result type is a read-only list/vector of StoredContact items. (You can use APIs of IVectorView; for C++, APIs of IReadOnlyList
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| Capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
- See Also
GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32)
Retrieves contacts from the contact store given the specified starting index and number of items to return..
public : IAsyncOperation<IVectorView<StoredContact>> GetContactsAsync(unsigned int startIndex, unsigned int maxNumberOfItems)public IAsyncOperation<IReadOnlyList<StoredContact>> GetContactsAsync(UInt32 startIndex, UInt32 maxNumberOfItems)Public Function GetContactsAsync(startIndex As UInt32, maxNumberOfItems As UInt32) As IAsyncOperation( Of IReadOnlyListStoredContact )// You can use this method in JavaScript.
- startIndex
- unsigned int UInt32 UInt32 UInt32
The index of the first contact to be retrieved.
- maxNumberOfItems
- unsigned int UInt32 UInt32 UInt32
The number of contacts to retrieve.
When this method completes, it returns an IVectorView containing StoredContact objects. If you use Asynchronous programming, the result type is a read-only list/vector of StoredContact items. (You can use APIs of IVectorView; for C++, APIs of IReadOnlyList
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| Capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
- See Also
GetCurrentQueryOptions() GetCurrentQueryOptions() GetCurrentQueryOptions() GetCurrentQueryOptions()
Gets the current query options.
public : ContactQueryOptions GetCurrentQueryOptions()public ContactQueryOptions GetCurrentQueryOptions()Public Function GetCurrentQueryOptions() As ContactQueryOptions// You can use this method in JavaScript.
The current query options.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| Capabilities |
ID_CAP_CONTACTS [Windows Phone]
|