Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

AddIn.Object Property

Sets or gets the object supporting the specified AddIn object.

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

Object Object { get; set; }

Property Value

Type: System.Object
  • An additional OLE automation object to support other add-ins.

public void AddinObjExample(AddIn addIn)
      // If the Add-in's namespace is AnAddin and the constructor
      // is Connect(an object for implementing an Addin),
      // someObject is an instance of AnAddin.Connect.
      Object someObject = addIn.Object;

   catch(Exception ex)

Community Additions

© 2015 Microsoft