NavigationModule 对象(Outlook)NavigationModule object (Outlook)

代表导航窗格中的导航模块。Represents a navigation module in the navigation pane.


NavigationModule 对象提供了访问各种Microsoft Outlook导航窗格中显示的导航模块。The NavigationModule object provides access to the various navigation modules that are displayed in the Microsoft Outlook Navigation Pane. NavigationModule 对象派生的下列对象︰The following objects are derived from the NavigationModule object:

对于父**NavigationPane** 对象,使用**GetNavigationModule** 方法或**NavigationModules** 集合的**Item** 方法检索NavigationModule对象,然后使用NavigationModuleType对象的**NavigationModule** 属性检索模块类型。Use the GetNavigationModule method or the Item method of the NavigationModules collection for the parent NavigationPane object to retrieve a NavigationModule object, then use the NavigationModuleType property of the NavigationModule object to retrieve the module type. 根据 NavigationModuleType 属性的值,可以将 NavigationModule 对象引用转换为前一段落中列出的对象之一,以访问该对象的 NavigationGroups 属性,如 CalendarModule 对象。Depending on the value of the NavigationModuleType property, you can then cast the NavigationModule object reference as one of the objects listed in the previous paragraph to access the NavigationGroups property for that object, such as a CalendarModule object.

快捷方式文件夹列表导航模块不具有相应的对象,如 MailModule ,因为它们不支持以编程方式访问导航组或导航文件夹。The Shortcuts and Folder List navigation modules do not have a corresponding object, such as MailModule, because they do not support programmatic access to navigation groups or navigation folders. 可以使用 NavigationModule 对象来访问 快捷方式文件夹列表模块的属性。You can use the NavigationModule object to access the properties of the Shortcuts and Folder List modules.

可以使用**Visible** 属性确定导航模块是否可见,并使用**Position** 属性返回或设置导航窗格中导航模块的显示位置。You can use the Visible property to determine whether the navigation module is visible, and use the Position property to return or set the display position of the navigation module within the navigation pane. 您还可以使用**Name** 属性返回导航窗格中导航模块的显示名称。You can also use the Name property to return the display name of the navigation module in the navigation pane.



另请参阅See also

Outlook 对象模型引用Outlook Object Model Reference

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.