Commands Object

Each add-in exposes a PBAddIn Object and a Commands Object. Platform Builder uses the PBAddIn object to connect to or disconnect from an add-in, and it uses the Commands object to carry out a command added by the IApplication::AddCommand method.

The Commands object exposes a method for each command added by AddCommand. This method specifies what the command does. You must write the code for the method.

See Also

Add-in Wizard Results | PBAddIn Object

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.