TaskPaneCollection.Item Property (TaskPaneType) (Microsoft.Office.InfoPath)

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)

Syntax

'Declaration
Public MustOverride ReadOnly Default Property Item ( _
    type As TaskPaneType _
) As TaskPane
'Usage
Dim instance As TaskPaneCollection
Dim type As TaskPaneType
Dim value As TaskPane

value = instance(type)
public abstract TaskPane this [
    TaskPaneType type
] { get; }

Parameters

Property Value

The TaskPane object that corresponds to the specified TaskPaneType.

Remarks

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 Office InfoPath 2007.

See Also

Reference

TaskPaneCollection Class
TaskPaneCollection Members
Microsoft.Office.InfoPath Namespace