AddIn.Extension Property

Definition

Gets a custom extension for this AddIn object.

public:
 property Microsoft::Office::Tools::IAddInExtension ^ Extension { Microsoft::Office::Tools::IAddInExtension ^ get(); };
public Microsoft.Office.Tools.IAddInExtension Extension { get; }
member this.Extension : Microsoft.Office.Tools.IAddInExtension
Public ReadOnly Property Extension As IAddInExtension

Property Value

A custom extension for this AddIn object.

Remarks

A custom extension is an implementation of the IAddInExtension interface in an add-in that is created by using the Office development tools in Visual Studio. By default, this property returns an instance of the generated ThisAddIn class. The ThisAddIn class implements the IAddInExtension interface through the AddInBase class. For more information, see Programming VSTO Add-Ins.

Applies to