Share via


MessagingApplication.SwitchToAccount Method (String)

3/29/2010

Gives the focus to the messaging application, then switches to the Account with the supplied name.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public static void SwitchToAccount (
    string accountName
)
'Declaration
Public Shared Sub SwitchToAccount ( _
    accountName As String _
)

Parameters

  • accountName
    The name of the account to display.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

MessagingApplication Class
MessagingApplication Members
Microsoft.WindowsMobile.PocketOutlook Namespace