Factory.CreateWorksheet Method

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

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
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
)

Parameters

Return Value

Type: Microsoft.Office.Tools.Excel.Worksheet

.NET Framework Security

See Also

Reference

Factory Interface

Microsoft.Office.Tools.Excel Namespace