Partilhar via


IRibbonExtension Interface

Represents an extension of a OfficeRibbon object.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

Syntax

'Declaration
<GuidAttribute("EBFD1E8E-CCED-4E54-9DE9-D8E1E445FC2D")> _
Public Interface IRibbonExtension _
    Inherits IExtension, IDisposable
[GuidAttribute("EBFD1E8E-CCED-4E54-9DE9-D8E1E445FC2D")]
public interface IRibbonExtension : IExtension, 
    IDisposable

The IRibbonExtension type exposes the following members.

Properties

  Name Description
Public property ExtensionBase Gets the object that is being extended by this IExtension. (Inherited from IExtension.)

Top

Methods

  Name Description
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)

Top

Remarks

The IRibbonExtension interface is implemented by the RibbonBase class. This is the base class of the class that Visual Studio generates in your project when you add a Ribbon (Visual Designer) item to an Office project in Visual Studio.

See Also

Reference

Microsoft.Office.Tools.Ribbon Namespace