OfficeRibbon.Extension Property
Gets a custom extension for this OfficeRibbon object.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
ReadOnly Property Extension As IRibbonExtension
IRibbonExtension Extension { get; }
Property Value
Type: Microsoft.Office.Tools.Ribbon.IRibbonExtension
A custom extension for this OfficeRibbon object.
Remarks
A custom extension is an implementation of the IRibbonExtension interface in a solution that is created by using the Office development tools in Visual Studio.
.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.