Connect.cs
/// <summary>Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification
/// that the host application has completed loading.</summary>
/// <param term='custom'>Array of parameters that are host application specific.</param>
/// <seealso class='IDTExtensibility2' />
Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification
that the host application has completed loading.
Array of parameters that are host application specific.
Implements the OnStartupComplete method of the IDTExtensibility2 interface . Receives notification that the host application has completed loading . Array of parameters that are host application specific .
public void OnStartupComplete(ref Array custom)
        {
            ce = _addInInstance.DTE.Events.get_CommandEvents("{52692960-56BC-4989-B5D3-94C47A513E8D}", 1);
            ce.AfterExecute += new _dispCommandEvents_AfterExecuteEventHandler(CommandEvents_AfterExecute);
        }
public void OnStartupComplete ( ref Array custom ) { ce = _addInInstance . DTE . Events . get_CommandEvents ( " " , 1 ) ; ce . AfterExecute += new _dispCommandEvents_AfterExecuteEventHandler ( CommandEvents_AfterExecute ) ; }
<summary>Implements the OnStartupComplete method of the IDTExtensibility2 interface.
<summary > Implements the OnStartupComplete method of the IDTExtensibility2 interface .
// Get a handle to the Execute SQL command // Subscribe to the AfterExecute event handler to log queries
Array
ref