Property | Type | Description | |
---|---|---|---|
CreateAddInMenus | void | ||
FindCommandBarByName | CommandBar | ||
GetCommandName | string | ||
GetToolsCommandBar | CommandBar | ||
OnSelectionChanged | void | ||
RemoveCommand | void | ||
RemoveCommandBarPopup | void | ||
ToggleSubMenuVisibility | void |
Method | Description | |
---|---|---|
Exec ( string commandName, vsCommandExecOption executeOption, object &varIn, object &varOut, bool &handled ) : void |
Implements the Exec method of the IDTCommandTarget interface. This is called when the command is invoked.
|
|
OnAddInsUpdate ( |
Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification that the collection of Add-ins has changed.
|
|
OnBeginShutdown ( |
Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.
|
|
OnConnection ( object application, ext_ConnectMode connectMode, object addInInst, |
Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.
|
|
OnDisconnection ( ext_DisconnectMode disconnectMode, |
Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.
|
|
OnStartupComplete ( |
Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.
|
|
QueryStatus ( string commandName, vsCommandStatusTextWanted neededText, vsCommandStatus &status, object &commandText ) : void |
Implements the QueryStatus method of the IDTCommandTarget interface. This is called when the command's availability is updated
|
|
VsAddIn ( ) : System |
Implements the constructor for the Add-in object. Place your initialization code within this method.
|
Method | Description | |
---|---|---|
CreateAddInMenus ( |
||
FindCommandBarByName ( CommandBars commandBars, string name ) : CommandBar | ||
GetCommandName ( string command ) : string | ||
GetToolsCommandBar ( CommandBars commandBars ) : CommandBar | ||
OnSelectionChanged ( ) : void | ||
RemoveCommand ( string command ) : void | ||
RemoveCommandBarPopup ( CommandBarPopup commandBarPopup ) : void | ||
ToggleSubMenuVisibility ( bool visible ) : void |
public Exec ( string commandName, vsCommandExecOption executeOption, object &varIn, object &varOut, bool &handled ) : void | ||
commandName | string | |
executeOption | vsCommandExecOption | |
varIn | object | |
varOut | object | |
handled | bool | |
return | void |
public OnAddInsUpdate ( |
||
custom | ||
return | void |
public OnBeginShutdown ( |
||
custom | ||
return | void |
public OnConnection ( object application, ext_ConnectMode connectMode, object addInInst, |
||
application | object | |
connectMode | ext_ConnectMode | |
addInInst | object | |
custom | ||
return | void |
public OnDisconnection ( ext_DisconnectMode disconnectMode, |
||
disconnectMode | ext_DisconnectMode | |
custom | ||
return | void |
public OnStartupComplete ( |
||
custom | ||
return | void |
public QueryStatus ( string commandName, vsCommandStatusTextWanted neededText, vsCommandStatus &status, object &commandText ) : void | ||
commandName | string | |
neededText | vsCommandStatusTextWanted | |
status | vsCommandStatus | |
commandText | object | |
return | void |