Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

_Solution.AddIns Property

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

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)
AddIns AddIns { get; }

Property Value

Type: EnvDTE.AddIns
An AddIns collection.

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

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.