Export (0) Print
Expand All
ID
Top
Expand Minimize

AddIns Property (Solution Object)

Visual Studio .NET 2003

Returns the Addins collection which contains all currently available add-ins associated with the solution.

[Visual Basic .NET]
Public ReadOnly Property AddIns() As AddIns
[Visual Basic 6]
Property Get AddIns() As AddIns
[C++]
HRESULT __stdcall get_AddIns(
   /* [out, retval] */ AddIns** retVal
);
[C#]
AddIns AddIns {get;}
[JScript .NET]
public function get AddIns() : AddIns

Return Value

Returns an AddIns collection.

Remarks

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

Example

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

See Also

AddIns Property (General Extensibility) | Addins Collection

Applies To: Solution Object

Show:
© 2015 Microsoft