Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the ProgID based on the add-in's registry entry.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property ProgID As String
string ProgID { get; }
property String^ ProgID {
String^ get ();
}
abstract ProgID : string with get
function get ProgID () : String
Property Value
Type: System.String
A string representing the ProgID.
Examples
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.