Метод | Описание | |
---|---|---|
Connect ( ) : System |
Implements the constructor for the Add-in object. Place your initialization code within this method.
|
|
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 when 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
|
Метод | Описание | |
---|---|---|
DisplayLaunchForm ( ) : void |
Launch the project selection form for the addin. Called from the Exec method above.
|
|
LaunchDebugTarget ( string filePath, System.Guid engineGuid ) : void |
Launch an executible using the sample debug engine.
|
public Exec ( string commandName, vsCommandExecOption executeOption, object &varIn, object &varOut, bool &handled ) : void | ||
commandName | string | |
executeOption | vsCommandExecOption | |
varIn | object | |
varOut | object | |
handled | bool | |
Результат | void |
public OnAddInsUpdate ( |
||
custom | ||
Результат | void |
public OnBeginShutdown ( |
||
custom | ||
Результат | void |
public OnConnection ( object application, ext_ConnectMode connectMode, object addInInst, |
||
application | object | |
connectMode | ext_ConnectMode | |
addInInst | object | |
custom | ||
Результат | void |
public OnDisconnection ( ext_DisconnectMode disconnectMode, |
||
disconnectMode | ext_DisconnectMode | |
custom | ||
Результат | void |
public OnStartupComplete ( |
||
custom | ||
Результат | void |
public QueryStatus ( string commandName, vsCommandStatusTextWanted neededText, vsCommandStatus &status, object &commandText ) : void | ||
commandName | string | |
neededText | vsCommandStatusTextWanted | |
status | vsCommandStatus | |
commandText | object | |
Результат | void |