DTE2.AddIns Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

AddIns AddIns { get; }

Property Value

Type: EnvDTE.AddIns
A AddIns collection.

The returned add-ins 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";

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft