Export (0) Print
Expand All

AddIn.Guid Property

Gets the GUID for the AddIn object.

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

string Guid { get; }

Property Value

Type: System.String
  • A string representing the CLSID of the add-in as obtained from the add-in's registry entry.

public void Example2(AddIn addin)
{
   try
   {
      MessageBox.Show(addin.Guid);
   }
   catch (Exception ex)
   {
      MessageBox.Show(ex.Message);
   }
}

Show:
© 2014 Microsoft