Answered by:
ContactFieldType and ContactFieldCategory in Windows 8.1

Question
-
I'm using 8.1, and don't see a Type of Category for contact fields, for example the object in the Contact.Emails. But I see a Kind field in the same object though. Going forward, should I use Kind and not Type or Category?
Thanks.
- Edited by wonderful and beautiful world Saturday, February 8, 2014 11:57 PM
Saturday, February 8, 2014 11:55 PM
Answers
-
what you need to do then? you can check the kind?
contact.Emails.Where(x => x.Kind == ContactEmailKind.Personal).ToArray()
Microsoft Certified Solutions Developer - Windows Store Apps Using C#
- Marked as answer by Jamles HezModerator Wednesday, February 19, 2014 6:56 AM
Sunday, February 9, 2014 3:18 PM -
I think so because Type and Category are not available.
- Marked as answer by Jamles HezModerator Wednesday, February 19, 2014 6:56 AM
Sunday, February 9, 2014 4:25 PM -
Contact.Emails should return an System.Collections.Generic.IList<ContactEmail> object, and ContactEmail class does not have any Type or Category Properties, only Kind exist.
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Edited by Jamles HezModerator Wednesday, February 19, 2014 6:57 AM
- Marked as answer by Jamles HezModerator Wednesday, February 19, 2014 6:57 AM
Wednesday, February 19, 2014 6:56 AMModerator
All replies
-
what you try to do? be a contactpicker or recieve contact info?
Microsoft Certified Solutions Developer - Windows Store Apps Using C#
Sunday, February 9, 2014 1:27 PM -
Receive contact info.Sunday, February 9, 2014 2:08 PM
-
what you need to do then? you can check the kind?
contact.Emails.Where(x => x.Kind == ContactEmailKind.Personal).ToArray()
Microsoft Certified Solutions Developer - Windows Store Apps Using C#
- Marked as answer by Jamles HezModerator Wednesday, February 19, 2014 6:56 AM
Sunday, February 9, 2014 3:18 PM -
I think so because Type and Category are not available.
- Marked as answer by Jamles HezModerator Wednesday, February 19, 2014 6:56 AM
Sunday, February 9, 2014 4:25 PM -
Contact.Emails should return an System.Collections.Generic.IList<ContactEmail> object, and ContactEmail class does not have any Type or Category Properties, only Kind exist.
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Edited by Jamles HezModerator Wednesday, February 19, 2014 6:57 AM
- Marked as answer by Jamles HezModerator Wednesday, February 19, 2014 6:57 AM
Wednesday, February 19, 2014 6:56 AMModerator