Share via


AddIn.Extension Property

Gets a custom extension for this AddIn object.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
ReadOnly Property Extension As IAddInExtension
IAddInExtension Extension { get; }

Property Value

Type: Microsoft.Office.Tools.IAddInExtension
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 Application-Level Add-Ins.

.NET Framework Security

See Also

Reference

AddIn Interface

Microsoft.Office.Tools Namespace