共用方式為


MonthCalendar 建構函式 (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 MonthCalendar(
    Factory factory,
    IHostItemProvider hostItemProvider,
    IServiceProvider serviceProvider,
    string cookie,
    string extenderCookie,
    Object container,
    string identifier
)

參數

備註

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

.NET Framework 安全性

請參閱

參考

MonthCalendar 類別

MonthCalendar 多載

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