Partager via


_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)

Syntax

'Declaration
ReadOnly Property AddIns As AddIns
AddIns AddIns { get; }
property AddIns^ AddIns {
    AddIns^ get ();
}
abstract AddIns : AddIns with get
function get AddIns () : AddIns

Property Value

Type: EnvDTE.AddIns
An AddIns collection.

Remarks

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

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

.NET Framework Security

See Also

Reference

_Solution Interface

EnvDTE Namespace