全部显示

CurrentGroup 属性

       

返回或设置 OutlookBarGroup 对象,该对象代表指定的 Outlook 面板窗格中打开的组。

expression.CurrentGroup

expression  必选。该表达式返回 OutlookBarPane 对象。

说明

必须使用 Set 关键字来设置该属性,如本示例所示:

Set myOlPane.CurrentGroup = myOlGroup

设置该属性将导致 BeforeGroupSwitch 事件的发生。