ImmutableArray<T>.IList.Item[Int32] 属性

定义

在指定的索引中获取或设置 ObjectGets or sets the Object at the specified index.

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; }
System.Collections.IList.Item
 Property Item(index As Integer) As Object Implements IList.Item

参数

index
Int32

索引。The index.

属性值

指定索引处的对象。The object at the specified index.

实现

异常

始终从资源库引发。Always thrown from the setter.

IsDefault 属性返回 true 时引发。Thrown if the IsDefault property returns true.

适用于