This documentation is archived and is not being maintained.

_DTE.AddIns Property

Gets the AddIns collection, which contains all currently available Add-ins.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

AddIns AddIns { get; }
/** @property */
AddIns get_AddIns ()

function get AddIns () : AddIns

Property Value

A AddIns collection.

The add-ins returned do not appear in the AddIns collection unless they are registered to appear there.

public void AddInsExample(DTE2 dte)
    // Display all add-ins.
    string msg = "Available add-ins:\n\n";

    foreach (AddIn addIn in dte.AddIns)
        msg += "    " + addIn.Name;

        if (addIn.Connected)
            msg += " (Loaded)\n";
            msg += " (Not Loaded)\n";