TasksModule 对象(Outlook)TasksModule object (Outlook)

代表浏览器的导航窗格中的 "任务" 导航模块。Represents the Tasks navigation module in the navigation pane of an explorer.

说明Remarks

从**NavigationModule** 对象派生的TasksModule对象提供对浏览器的导航窗格的 "任务" 导航模块中包含的导航组的访问。The TasksModule object, derived from the NavigationModule object, provides access to the navigation groups contained in the Tasks navigation module of the navigation pane for an explorer. 对于父**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 navigation module type. 如果 NavigationModuleType 属性设置为 olModuleTasks,则可以将 NavigationModule 对象引用强制转换为一个 TasksModule 对象,以访问该导航模块的 NavigationGroups 属性。If the NavigationModuleType property is set to olModuleTasks, you can then cast the NavigationModule object reference as a TasksModule object to access the NavigationGroups property for that navigation module.

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

属性Properties

名称Name
ApplicationApplication
Class
名称Name
NavigationGroupsNavigationGroups
NavigationModuleTypeNavigationModuleType
ParentParent
PositionPosition
SessionSession
VisibleVisible

另请参阅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.