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 ( |
Receives notification when the collection of Add-ins has changed.
|
|
OnBeginShutdown ( |
Receives notification that the host application is being unloaded.
|
|
OnConnection ( object application, ext_ConnectMode connectMode, object addIn, |
Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.
|
|
OnDisconnection ( ext_DisconnectMode disconnectMode, |
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.
|
Method | Description | |
---|---|---|
CreateCommand ( |
Adds named command to the TargetProcess popup menu.
|
|
CreateCommands ( ) : void |
Creates TargetProcess popup menu with commands.
|
|
CreateController ( ) : |
Creates controller behind the To Do list view.
|
|
CreateToolWindow ( ) : void |
Create tool window with the To Do list.
|
|
CreateTraceListener ( ) : |
Creates TraceListener which appends to Output Window.
|
|
DoExec ( string commandName, vsCommandExecOption executeOption ) : bool | ||
DoQueryStatus ( string commandName, vsCommandStatusTextWanted neededText ) : vsCommandStatus | ||
FindMenuBarControl ( |
||
OnConnectionStateChange ( object sender, |
Receives notification that the connection state has changed.
|
public Exec ( string commandName, vsCommandExecOption executeOption, object &varIn, object &varOut, bool &handled ) : void | ||
commandName | string | /// The name of the command to execute. /// |
executeOption | vsCommandExecOption | /// Describes how the command should be run. /// |
varIn | object | /// Parameters passed from the caller to the command handler. /// |
varOut | object | /// Parameters passed from the command handler to the caller. /// |
handled | bool | /// Informs the caller if the command was handled or not. /// |
return | void |
public OnAddInsUpdate ( |
||
custom | /// Array of parameters that are host application specific. /// | |
return | void |
public OnBeginShutdown ( |
||
custom | /// Array of parameters that are host application specific. /// | |
return | void |
public OnConnection ( object application, ext_ConnectMode connectMode, object addIn, |
||
application | object | /// Root object of the host application. /// |
connectMode | ext_ConnectMode | /// Describes how the Add-in is being loaded. /// |
addIn | object | /// Object representing this Add-in. /// |
custom | /// Array of parameters that are host application specific. /// | |
return | void |
public OnDisconnection ( ext_DisconnectMode disconnectMode, |
||
disconnectMode | ext_DisconnectMode | /// Describes how the Add-in is being unloaded. /// |
custom | /// Array of parameters that are host application specific. /// | |
return | void |
public OnStartupComplete ( |
||
custom | /// Array of parameters that are host application specific. /// | |
return | void |
public QueryStatus ( string commandName, vsCommandStatusTextWanted neededText, vsCommandStatus &status, object &commandText ) : void | ||
commandName | string | /// The name of the command to determine state for. /// |
neededText | vsCommandStatusTextWanted | /// Text that is needed for the command. /// |
status | vsCommandStatus | /// The state of the command in the user interface. /// |
commandText | object | /// Text requested by the neededText parameter. /// |
return | void |