RibbonBase 建構函式

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

初始化 RibbonBase 類別的新執行個體。

命名空間:  Microsoft.Office.Tools.Ribbon
組件:  Microsoft.Office.Tools.Common.v4.0.Utilities (在 Microsoft.Office.Tools.Common.v4.0.Utilities.dll 中)

語法

'宣告
Public Sub New ( _
    factory As RibbonFactory _
)
public RibbonBase(
    RibbonFactory factory
)

參數

備註

請不要使用這個建構函式來建立 RibbonBase 類別的執行個體。當您將新的 [功能區 (視覺化設計工具)] 項目加入至專案時,Visual Studio 會建立繼承自 RibbonBase 的類別執行個體。

.NET Framework 安全性

請參閱

參考

RibbonBase 類別

Microsoft.Office.Tools.Ribbon 命名空間