Share via


Explorer.NavigationPane-Eigenschaft (Outlook)

Gibt ein NavigationPane-Objekt zurück, das den Navigationsbereich für ein Explorer-Objekt darstellt. Schreibgeschützt.

Syntax

Ausdruck. NavigationPane

Ausdruck Eine Variable, die ein Explorer-Objekt darstellt.

HinwBemerkungeneise

Einige Explorer -Objekten verfügen möglicherweise nicht über ein zugeordnetes NavigationPane -Objekt. In diesen Fällen gibt diese Eigenschaft Null zurück (Nothing in Visual Basic.)

Beispiel

Im folgende Visual Basic für Applikationen (VBA) Beispiel ruft das NavigationPane -Objekt aus der aktiven Explorer -Objekt und zeigt Informationen über die Anzahl der Navigationsmodule enthalten und vom Objekt angezeigt wird.

Sub DisplayModuleCounts() 
 
 Dim objPane As NavigationPane 
 
 
 
 ' Get the NavigationPane object for the 
 
 ' currently displayed Explorer object. 
 
 Set objPane = Application.ActiveExplorer.NavigationPane 
 
 
 
 ' Display information about modules contained 
 
 ' by the NavigationPane object. 
 
 MsgBox "The Navigation Pane currently contains " & _ 
 
 objPane.Modules.Count & _ 
 
 " modules, of which " & _ 
 
 objPane.DisplayedModuleCount & _ 
 
 " are displayed." 
 
 
 
End Sub

Siehe auch

Explorer-Objekt

Support und Feedback

Haben Sie Fragen oder Feedback zu Office VBA oder zu dieser Dokumentation? Unter Office VBA-Support und Feedback finden Sie Hilfestellung zu den Möglichkeiten, wie Sie Support erhalten und Feedback abgeben können.