Add |
public static class AddInManager
The AddInManager type exposes the following members.
Name | Description | |
---|---|---|
AddInInstallTemp | Gets or sets the addin install temporary directory. This is a directory used to store AddIns that should be installed on the next start of the application. This property is normally initialized by ConfigureUserAddIns(String, String). | |
ConfigurationFileName | Gets or sets the full name of the configuration file. In this file, the AddInManager stores the list of disabled AddIns and the list of installed external AddIns. This property is normally initialized by ConfigureExternalAddIns(String). | |
UserAddInPath | Gets or sets the user addin path. This is the path where user AddIns are installed to. This property is normally initialized by ConfigureUserAddIns(String, String). |
Name | Description | |
---|---|---|
AbortRemoveUserAddInOnNextStart | Prevents a user AddIn from being uninstalled. RemoveUserAddInOnNextStart(String) schedules the AddIn for deinstallation, you can unschedule it using AbortRemoveUserAddInOnNextStart(String) | |
AddExternalAddIns | Adds the specified external AddIns to the list of registered external AddIns. | |
Disable | Marks the specified AddIns as disabled (will take effect after next application restart). | |
Enable | Marks the specified AddIns as enabled (will take effect after next application restart). | |
InstallAddIns | Installs the AddIns from AddInInstallTemp to the UserAddInPath. In case of installation errors, a error message is displayed to the user and the affected AddIn is added to the disabled list. This method is normally called by ConfigureUserAddIns(String, String) | |
LoadAddInConfiguration | Loads a configuration file. The 'file' from XML elements in the form "<AddIn file='full path to .addin file'>" will be added to addInFiles, the 'addin' element from "<Disable addin='addin identity'>" will be added to disabledAddIns, all other XML elements are ignored. | |
RemoveExternalAddIns | Removes the specified external AddIns from the list of registered external AddIns. | |
RemoveUserAddInOnNextStart | Uninstalls the user addin on next start. RemoveUserAddInOnNextStart(String) schedules the AddIn for deinstallation, you can unschedule it using AbortRemoveUserAddInOnNextStart(String) | |
SaveAddInConfiguration | Saves the AddIn configuration in the format expected by LoadAddInConfiguration(ListString, ListString). |