Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AddIn.ProgID Property

Gets the ProgID based on the add-in's registry entry.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)
string ProgID { get; }

Property Value

Type: System.String
A string representing the ProgID.
Sub ProgIDExample()
   ' Set object references.
   Dim addincoll As AddIns
   Dim addinobj As AddIn
   
   addincoll = DTE.AddIns
   addinobj = addincoll.Item(1)

   ' Activates a solution add-in so that it is available,
   ' then deactivates it.
   addinobj = DTE.Solution.AddIns.Add(addinobj.ProgID, _
     addinobj.Description, addinobj.Name, False)
   DTE.Solution.AddIns.Item(1).Remove()
End Sub
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.