CustomTaskPaneCollection Constructor (IHostItemProvider, IServiceProvider, String, Object, String)

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

Initializes a new instance of the CustomTaskPaneCollection class.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)


Public Sub New ( _
    hostItemProvider As IHostItemProvider, _
    serviceProvider As IServiceProvider, _
    primaryCookie As String, _
    container As Object, _
    identifier As String _
Dim hostItemProvider As IHostItemProvider
Dim serviceProvider As IServiceProvider
Dim primaryCookie As String
Dim container As Object
Dim identifier As String

Dim instance As New CustomTaskPaneCollection(hostItemProvider, _
    serviceProvider, primaryCookie, _
    container, identifier)
public CustomTaskPaneCollection(
    IHostItemProvider hostItemProvider,
    IServiceProvider serviceProvider,
    string primaryCookie,
    Object container,
    string identifier



Do not create your own instance of CustomTaskPaneCollection. Instead, use the CustomTaskPanes field of the ThisAddIn class. For more information about the ThisAddIn class, see Programming Application-Level Add-Ins and AddIn Host Item.

.NET Framework Security

See Also


CustomTaskPaneCollection Class

CustomTaskPaneCollection Members

CustomTaskPaneCollection Overload

Microsoft.Office.Tools Namespace