Export (0) Print
Expand All

TaskPaneCollection.Item property (TaskPaneType)

Gets a reference to the specified TaskPane object from the collection by enumerated type.

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

public abstract TaskPane this[
	TaskPaneType type
] { get; }

Parameters

type
Type: Microsoft.Office.InfoPath.TaskPaneType

The TaskPaneType of the type of task pane to return.

Property value

Type: Microsoft.Office.InfoPath.TaskPane
The TaskPane object that corresponds to the specified TaskPaneType.

After you have set a reference to the TaskPane object that the Item property returns, you can access any of its properties and methods.

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.

Show:
© 2014 Microsoft