共用方式為


OfficeRibbon.Extension Property

Definition

Gets a custom extension for this OfficeRibbon object.

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

Property Value

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.

Applies to