Share via


How Add-in Commands Are Carried Out

Home Page (Add-ins)OverviewHow Do I ... TopicsFAQReference

When a user carries out a command provided by an add-in, Developer Studio calls a method associated with the command. This method specifies what the command is supposed to do and is exposed by the Commands object associated with the add-in.

Developer Studio finds the method's name in the add-in's call to the AddCommand method, which added the command to Developer Studio. Then, Developer Studio calls the method by communicating with the add-in through the dispatch interface (dispinterface) implemented by the Commands object.

See Also   Carrying Out Add-in Commands