編輯

共用方式為


TabControl.TabPageCollection.IList.Item[Int32] Property

Definition

Gets or sets a TabPage in the collection.

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int index] { get; set; }
object? System.Collections.IList.Item[int index] { get; set; }
member this.System.Collections.IList.Item(int) : obj with get, set
 Property Item(index As Integer) As Object Implements IList.Item

Parameters

index
Int32

The zero-based index of the element to get.

Property Value

The TabPage at the specified index.

Implements

Exceptions

The value is not a TabPage.

Remarks

This member is an explicit interface member implementation. It can be used only when the TabControl.TabPageCollection instance is cast to an IList interface.

Applies to