共用方式為


Button 建構函式 (Factory, IHostItemProvider, IServiceProvider, String, String, Object, String)

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

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

語法

'宣告
Public Sub New ( _
    factory As Factory, _
    hostItemProvider As IHostItemProvider, _
    serviceProvider As IServiceProvider, _
    cookie As String, _
    extenderCookie As String, _
    container As Object, _
    identifier As String _
)
public Button(
    Factory factory,
    IHostItemProvider hostItemProvider,
    IServiceProvider serviceProvider,
    string cookie,
    string extenderCookie,
    Object container,
    string identifier
)

參數

.NET Framework 安全性

請參閱

參考

Button 類別

Button 多載

Microsoft.Office.Tools.Excel.Controls 命名空間