This documentation is archived and is not being maintained.

OCCommands Object


This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Aa190598.parchild(en-us,office.10).gifOCCommands
Aa190598.space(en-us,office.10).gifAa190598.parchild(en-us,office.10).gifOCCommand

Contains a collection of OCCommand objects that represent the collection of all of the user interface and keyboard commands that are available in the specified Microsoft Office Web Component.

Using the OCCommands object

The following properties return a OCCommands collection:

The OCCommandId, ChartCommandIdEnum, PivotCommandId, and SpreadsheetCommandId constants contain lists of the supported commands for each Web component.

Use the Item property to return a single OCCommand object.

 

Show: