Worksheet.Extension Property
Gets a custom extension for this Worksheet object.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property Extension As IWorksheetExtension
Get
IWorksheetExtension Extension { get; }
Property Value
Type: Microsoft.Office.Tools.Excel.IWorksheetExtension
A custom extension for this Worksheet object.
Remarks
A custom extension is an implementation of the IWorksheetExtension interface in an Excel solution that is created by using the Office development tools in Visual Studio. In document-level projects, this property returns an instance of the generated worksheet host item by default.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.