TableLayoutStyleCollection.IList.Item[Int32] 属性

定义

有关此方法的说明,请参见 Item[Int32] 属性。

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

参数

index
Int32

要获取或设置的元素的从零开始的索引。

属性值

指定索引处的元素。

实现

例外

仅限 .NET 8 及更高版本:无法将要设置的值转换为类型 TableLayoutStyle

注解

此成员是显式接口成员的实现。 它只能在 TableLayoutStyleCollection 实例被强制转换为 IList 接口时使用。

适用于