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 ChartSpace object's Commands property.
- The PivotTable object's Commands property.
- The Spreadsheet object's Commands property.
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.