Leer en inglés

Compartir a través de


RibbonCollectionBase Class

Definition

Provides access to the IRibbonExtension objects in a Ribbon customization.

C#
public abstract class RibbonCollectionBase : Microsoft.Office.Tools.IExtension, System.Collections.Generic.ICollection<Microsoft.Office.Tools.Ribbon.IRibbonExtension>, System.Collections.Generic.IEnumerable<Microsoft.Office.Tools.Ribbon.IRibbonExtension>, System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.IRibbonExtension>
Inheritance
RibbonCollectionBase
Implements

Remarks

This collection contains all of the Ribbons that are associated with your Office customization. To access the RibbonCollectionBase object in an Office project, use the Globals.Ribbons property. For more information, see Global Access to Objects in Office Projects.

This collection can contain either all IRibbonExtension objects of any type in a Ribbon customization, or only those IRibbonExtension objects for a particular message class or Microsoft Office application.

Usage

This type is used only in Office projects that target the .NET Framework 4 or later. The assembly that defines this type is not part of the Visual Studio Tools for Office runtime. You must deploy this assembly with your solution. For more information, see Assemblies in the Visual Studio Tools for Office Runtime.

Constructors

Properties

Methods

Explicit Interface Implementations

Applies to

Producto Versiones
Visual Studio Tools for Office 2017, 2019, 2022