共用方式為


OlDefaultExpandCollapseSetting Enumeration

Specifies the expand/collapse default value specified in the DefaultExpandCollapseSetting property of the TableView and TimelineView objects.

Version Information

Version Added: Outlook 2007

Name

Value

Description

olAllCollapsed

1

All groups are collapsed when the view is initially displayed.

olAllExpanded

0

All groups are expanded when the view is initially displayed.

olLastViewed

2

Groups are displayed expanded or collapsed depending on the state the groups were in when the view was last closed.