Свойство | Тип | Описание | |
---|---|---|---|
CreateAddInMenus | void | ||
FindCommandBarByName | CommandBar | ||
GetCommandName | string | ||
GetToolsCommandBar | CommandBar | ||
OnSelectionChanged | void | ||
RemoveCommand | void | ||
RemoveCommandBarPopup | void | ||
ToggleSubMenuVisibility | void |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | 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 |