ext_ConnectMode ext_ConnectMode ext_ConnectMode ext_ConnectMode Enum


Informs the add-in about how it was loaded by the integrated development environment (IDE).

public enum class ext_ConnectMode
public enum ext_ConnectMode
type ext_ConnectMode = 
Public Enum ext_ConnectMode


ext_cm_AfterStartup ext_cm_AfterStartup ext_cm_AfterStartup ext_cm_AfterStartup 0

The add-in was loaded after Visual Studio started.

ext_cm_CommandLine ext_cm_CommandLine ext_cm_CommandLine ext_cm_CommandLine 3

The add-in was loaded from the command line.

ext_cm_External ext_cm_External ext_cm_External ext_cm_External 2

The add-in was loaded by an external client. (This setting is no longer used by Visual Studio.)

ext_cm_Solution ext_cm_Solution ext_cm_Solution ext_cm_Solution 4

The add-in was loaded with a solution.

ext_cm_Startup ext_cm_Startup ext_cm_Startup ext_cm_Startup 1

The add-in was loaded when Visual Studio started.

ext_cm_UISetup ext_cm_UISetup ext_cm_UISetup ext_cm_UISetup 5

The add-in was loaded for user interface setup.


Add-ins are deprecated. For more information, see FAQ: Converting Add-ins to VSPackage Extensions.

Applies to