Udostępnij za pośrednictwem


RibbonBase(RibbonFactory) Constructor

Definition

Initializes a new instance of the RibbonBase class.

public:
 RibbonBase(Microsoft::Office::Tools::Ribbon::RibbonFactory ^ factory);
public RibbonBase (Microsoft.Office.Tools.Ribbon.RibbonFactory factory);
new Microsoft.Office.Tools.Ribbon.RibbonBase : Microsoft.Office.Tools.Ribbon.RibbonFactory -> Microsoft.Office.Tools.Ribbon.RibbonBase
Public Sub New (factory As RibbonFactory)

Parameters

factory
RibbonFactory

Remarks

Do not use this constructor to create an instance of the RibbonBase class. When you add a new Ribbon (Visual Designer) item to a project, Visual Studio creates an instance of a class that inherits from RibbonBase.

Applies to