This API supports the product infrastructure and is not intended to be used directly from your code.
You cannot create AddInBase host items programmatically. Instead, use the ThisAddIn class that is automatically created in your add-in project. The ThisAddIn class derives from AddInBase. For more information, see Programming VSTO Add-Ins.
AddInBase ClassMicrosoft.Office.Tools Namespace