Partilhar via


_Solution.AddIns Property

Definition

Caution

AddIn related extension points are no longer supported in Visual Studio.

Caution

AddIn related extension points are no longer supported in Visual Studio.

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)]
[System.Obsolete("AddIn related extension points are no longer supported in Visual Studio.")]
public EnvDTE.AddIns AddIns { [System.Runtime.InteropServices.DispId(32)] [System.Obsolete("AddIn related extension points are no longer supported in Visual Studio.")] get; }
[<System.Runtime.InteropServices.DispId(32)>]
[<get: System.Runtime.InteropServices.DispId(32)>]
member this.AddIns : EnvDTE.AddIns
[<System.Runtime.InteropServices.DispId(32)>]
[<get: System.Runtime.InteropServices.DispId(32)>]
[<System.Obsolete("AddIn related extension points are no longer supported in Visual Studio.")>]
[<get: System.Obsolete("AddIn related extension points are no longer supported in Visual Studio.")>]
member this.AddIns : EnvDTE.AddIns
Public ReadOnly Property AddIns As AddIns

Property Value

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