TaskPanesCollection Interface (Microsoft.Office.Interop.InfoPath.SemiTrust)
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)
This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, see TaskPanes.
The TaskPanesCollection collection can be used only to get the count of the TaskPaneObject objects that it contains and to return a reference to a specified TaskPaneObject object. It cannot be used to add or remove TaskPaneObject objects.