連絡先を検索、取得する(WindowsPhone)

ContactManager

WindowsPhoneのみ、ContactManagerAPIで連絡先の検索、取得を行うことができます。

 

検索

ContactStore store=await ContactManager.RequestStoreAsync();
IReadOnlyList<Contact> contacts = await store.FindContactsAsync("良太");

取得

ContactStore store=await ContactManager.RequestStoreAsync();
Contact contacts = await store.GetContactAsync("id");

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.