編輯

共用方式為


_Application.ActiveExplorer Method

Definition

Returns the topmost Explorer object on the desktop.

public:
 Microsoft::Office::Interop::Outlook::Explorer ^ ActiveExplorer();
public Microsoft.Office.Interop.Outlook.Explorer ActiveExplorer ();
Public Function ActiveExplorer () As Explorer

Returns

An Explorer that represents the topmost explorer on the desktop. Returns Nothing if no explorer is active.

Remarks

Use this method to return the Explorer object that the user is most likely viewing. This method is also useful for determining when there is no active explorer, so a new one can be opened.

Applies to