AddIns::Add Method (String^, String^, String^, Boolean)

 

Adds an add-in to the collection of add-ins loaded when a particular solution loads. It fails if the collection is the DTE.AddIns collection.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

AddIn^ Add(
	String^ ProgID,
	String^ Description,
	String^ Name,
	bool Connected
)

Parameters

ProgID
Type: System::String^

Required. The ProgID of the add-in to add to the collection.

Description
Type: System::String^

Required. A description for the add-in to add to the collection.

Name
Type: System::String^

Required. The name of the add-in to add to the collection.

Connected
Type: System::Boolean

Required. Indicates whether the add-in is currently loaded.

Return Value

Type: EnvDTE::AddIn^

An AddIn object.

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

Return to top
Show: