State of the plug-in.
Any PluginState value can be saved to the plug-in configuration file. Plug-ins having Removed value in configuration file are ignored when the program is being loaded.
The following state transitions are supported for in-memory plug-in objects:
| Installed -> Disabled | The plug-in is disabled. Any existing related instances of IPlugin are removed from all session profiles and disposed. |
| Disabled -> Installed | The plug-in is enabled. Related instances of IPluginSingleton and IPlugin are created unless they already exist. |
| Installed -> Removed | The plug-in is removed. Any existing related instances of IPluginSingleton and IPlugin are removed and disposed. |
| Disabled -> Removed | The plug-in is removed. Any existing related instances of IPluginSingleton are removed and disposed. |
public enum PluginStatePublic Enumeration PluginStatepublic enum class PluginStatetype PluginState| Installed | 0 | Plug-in is installed. |
| Removed | 1 | Plug-in is removed. This state value is written to the configuration file to indicate that plug-in objects must not be read into memory. It also marks the in-memory objects of a plug-in which has just been removed (that is needed because the plug-in can never be erased from memory completely due to static data etc). |
| Disabled | 2 | Plug-in is disabled. |