AccountSelector AccountSelector AccountSelector Interface


Provides the ability to obtain the account that is selected in the Microsoft Office Backstage view for the parent Explorer object.

public interface class AccountSelector : Microsoft::Office::Interop::Outlook::_AccountSelector, Microsoft::Office::Interop::Outlook::AccountSelectorEvents_Event
public interface AccountSelector : Microsoft.Office.Interop.Outlook._AccountSelector, Microsoft.Office.Interop.Outlook.AccountSelectorEvents_Event
Public Interface AccountSelector
Implements _AccountSelector, AccountSelectorEvents_Event


This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _AccountSelector. For information about the event members of the COM object, seeAccountSelectorEvents_Event.

The AccountSelector object has the Explorer object as its parent object. You can obtain an instance of the AccountSelector object from the AccountSelector property of the Explorer object.

The AccountSelector object provides a SelectedAccount property that returns the current account that has been selected in the Backstage view. The object also provides a SelectedAccountChange event that fires when the user has changed the account in the Backstage view.


Application Application Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _AccountSelector)

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _AccountSelector)

Parent Parent Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _AccountSelector)

SelectedAccount SelectedAccount SelectedAccount

Returns an Account object that represents the selected account in the Microsoft Office Backstage view in Microsoft Outlook. Read-only.

(Inherited from _AccountSelector)

Session Session Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _AccountSelector)


SelectedAccountChange SelectedAccountChange SelectedAccountChange

Occurs when the user selects a different account in the drop-down list under Account Information on the Info tab of the Microsoft Office Backstage view.

(Inherited from AccountSelectorEvents_Event)

Applies to