ComboBox 建構函式 (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.Word.Controls
組件:  Microsoft.Office.Tools.Word.v4.0.Utilities (在 Microsoft.Office.Tools.Word.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 ComboBox(
    Factory factory,
    IHostItemProvider hostItemProvider,
    IServiceProvider serviceProvider,
    string cookie,
    string extenderCookie,
    Object container,
    string identifier
)

參數

備註

請不要使用建構函式建立新的 ComboBox。 使用 AddComboBox() 方法將新的 ComboBox 加入至文件。 如需詳細資訊,請參閱在執行階段將控制項加入至 Office 文件

.NET Framework 安全性

請參閱

參考

ComboBox 類別

ComboBox 多載

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