Commands
Property of IApplication
Description
Command list. SAFEARRAY of BSTR
Property type
Read-Only Property of type VARIANT
Syntax
JavaScript
var pCommands = Application.Commands;
Visual Basic Script
pCommands = Application.Commands
C++
VARIANT pCommands; HRESULT hr = Application.get_Commands(&pCommands);
Remarks
Example of how to work with SAFEARRAY objects can be found here.