IHost Interface

Information for Developers

The IHost interface represents the host application. An instance of IHost is be passed in as a parameter to the Initialize() method in the IPlugin interface. See IPlugin Interface.

Methods

  • string GetCompany() Returns the name of the company.
  • IEditorContext GetEditorContext() Returns the active IEditorContext object. See IEditorContext Interface.
  • string GetName() Returns the name of the active application.
  • INavContext GetNavContext() Returns the active INavContext object. See INavContext Interface.
  • void Dispose() Cleans up the instance of IHost after usage. This must be called whenever the plug-in is disabled.