C# Класс AddIn.Connect

Наследование: Object, Extensibility.IDTExtensibility2
Показать файл Открыть проект

Открытые методы

Метод Описание
Connect ( ) : System

Implements the constructor for the Add-in object. Place your initialization code within this method.

OnAddInsUpdate ( System &custom ) : void

Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification that the collection of Add-ins has changed.

OnBeginShutdown ( System &custom ) : void

Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.

OnConnection ( object application, Extensibility connectMode, object addInInst, System &custom ) : void

Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.

OnDisconnection ( Extensibility disconnectMode, System &custom ) : void

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.

OnStartupComplete ( System &custom ) : void

Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.

Описание методов

Connect() публичный Метод

Implements the constructor for the Add-in object. Place your initialization code within this method.
public Connect ( ) : System
Результат System

OnAddInsUpdate() публичный Метод

Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification that the collection of Add-ins has changed.
public OnAddInsUpdate ( System &custom ) : void
custom System
Результат void

OnBeginShutdown() публичный Метод

Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.
public OnBeginShutdown ( System &custom ) : void
custom System
Результат void

OnConnection() публичный Метод

Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.
public OnConnection ( object application, Extensibility connectMode, object addInInst, System &custom ) : void
application object
connectMode Extensibility
addInInst object
custom System
Результат void

OnDisconnection() публичный Метод

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.
public OnDisconnection ( Extensibility disconnectMode, System &custom ) : void
disconnectMode Extensibility
custom System
Результат void

OnStartupComplete() публичный Метод

Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.
public OnStartupComplete ( System &custom ) : void
custom System
Результат void