Upravit

Sdílet prostřednictvím


TaskPaneCollection.Item[] Property

Definition

Overloads

Item[TaskPaneType]

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

Item[Int32]

Gets a reference to the specified TaskPane object from the collection by index value.

Item[TaskPaneType]

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

public:
 abstract property Microsoft::Office::InfoPath::TaskPane ^ default[Microsoft::Office::InfoPath::TaskPaneType] { Microsoft::Office::InfoPath::TaskPane ^ get(Microsoft::Office::InfoPath::TaskPaneType type); };
public abstract Microsoft.Office.InfoPath.TaskPane this[Microsoft.Office.InfoPath.TaskPaneType type] { get; }
member this.Item(Microsoft.Office.InfoPath.TaskPaneType) : Microsoft.Office.InfoPath.TaskPane
Default Public MustOverride ReadOnly Property Item(type As TaskPaneType) As TaskPane

Parameters

type
TaskPaneType

The TaskPaneType of the type of task pane to return.

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 InfoPath Filler.

Applies to

Item[Int32]

Gets a reference to the specified TaskPane object from the collection by index value.

public:
 abstract property Microsoft::Office::InfoPath::TaskPane ^ default[int] { Microsoft::Office::InfoPath::TaskPane ^ get(int index); };
public abstract Microsoft.Office.InfoPath.TaskPane this[int index] { get; }
member this.Item(int) : Microsoft.Office.InfoPath.TaskPane
Default Public MustOverride ReadOnly Property Item(index As Integer) As TaskPane

Parameters

index
Int32

The zero-based index of the TaskPane object to return.

Property Value

The TaskPane object that corresponds to the specified index value.

Exceptions

The index value provided was out of range.

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 InfoPath Filler.

Applies to