Application.CommandBars Property

SharePoint Designer Developer Reference

Returns a CommandBars collection that represents the menus and toolbars displayed in the application.

Syntax

expression.CommandBars

expression   Required. A variable that represents an Application object.

Remarks

You cannot access application-specific shortcut menus by using the CommandBars collection. For example, you can't access the shortcut menu that appears when you right-click a page in Page view. However, you can create your own shortcut menus by using the ShowPopup method for the CommandBar object.

See Also