_Solution.AddIns Property

Definition

Gets an AddIns collection, which contains all currently available add-ins associated with the solution.

public:
 property EnvDTE::AddIns ^ AddIns { EnvDTE::AddIns ^ get(); };
[System.Runtime.InteropServices.DispId(32)]
public EnvDTE.AddIns AddIns { [System.Runtime.InteropServices.DispId(32)] get; }
[<System.Runtime.InteropServices.DispId(32)>]
[<get: System.Runtime.InteropServices.DispId(32)>]
member this.AddIns : EnvDTE.AddIns
Public ReadOnly Property AddIns As AddIns

Property Value

AddIns

An AddIns collection.

Attributes

Examples

Sub AddinsExample()  
   ' Open a solution before running this example.  
   Dim soln As Solution  

   ' Create a reference to the solution.  
   soln = DTE.Solution  

   ' List number of Add-ins.  
   MsgBox(soln.AddIns.Count)  
End Sub  

Remarks

Only registered Add-ins appear in the Addins collection, and they load and unload when the solution loads and unloads.

Applies to