Hi,
As far as I've seen on MSDN, contactStore.FindContactsAsync() returns you a list of
contacts
[
^].
In the foreach loop you can retrieve the phone numbers by using
Item.phones
[
^] which returns a list of
ContactPhones
[
^] and for the name you can use
Item.Name
[
^] which returns a string.
Anyway, it's very important for you to look at this page to get further information: https://msdn.microsoft.com/en-us/library/windows.applicationmodel.contacts.contact.aspx[
^]
Your results are displayed like that in the listbox because there is a hidden call to the method
ToString
when an object is added to the Listbox if a good DataTemplate is missing, so you get the
String
representation of a
ContactPhone
object.
I hope this helps.
LG