.NET Components for Mobility

EmailAccount.DefaultAccount

Last post 09-03-2008 6:44 AM by PeterFoot. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-02-2008 4:45 PM

    • drm
    • Top 25 Contributor
    • Joined on 06-18-2007
    • Posts 17

    EmailAccount.DefaultAccount

    It appears that the EmailAccount.DefaultAccount property was removed between version 2.1 and 3.2. This has broken our 2.1 application. Is there another way to determine what the default account is?

    Thanks,

    Dean Mikel 

     

  • 09-03-2008 6:44 AM In reply to

    Re: EmailAccount.DefaultAccount

    This isn't used correctly on all devices. However you can retrieve it through the Properties collection e.g.

    bool isDefault = (bool)account.Properties[(AccountProperty)0x3400000B];

    Peter

     

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.