Partager via


Window.TaskPanes Property

Gets a reference to the TaskPaneCollection collection that is associated with the Window object.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property TaskPanes As TaskPaneCollection
    Get
'Usage
Dim instance As Window
Dim value As TaskPaneCollection

value = instance.TaskPanes
public abstract TaskPaneCollection TaskPanes { get; }

Property Value

Type: Microsoft.Office.InfoPath.TaskPaneCollection
A reference to the TaskPaneCollection collection that is associated with the Window object.

Remarks

The TaskPanes property can be used only with the editing window types; if used with a designing window type, it will raise an exception.

This member can be accessed without restrictions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See Also

Reference

Window Class

Window Members

Microsoft.Office.InfoPath Namespace