Factory.CreateWorksheet 方法

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

命名空间:  Microsoft.Office.Tools.Excel
程序集:  Microsoft.Office.Tools.Excel(在 Microsoft.Office.Tools.Excel.dll 中)

语法

声明
Function CreateWorksheet ( _
    serviceProvider As IServiceProvider, _
    hostItemProvider As IHostItemProvider, _
    primaryCookie As String, _
    identifier As String, _
    containerComponent As Object, _
    extension As IWorksheetExtension _
) As Worksheet
Worksheet CreateWorksheet(
    IServiceProvider serviceProvider,
    IHostItemProvider hostItemProvider,
    string primaryCookie,
    string identifier,
    Object containerComponent,
    IWorksheetExtension extension
)

参数

返回值

类型:Microsoft.Office.Tools.Excel.Worksheet

.NET Framework 安全性

请参见

参考

Factory 接口

Microsoft.Office.Tools.Excel 命名空间