SqlBulkCopyColumnMappingCollection.IList.Item[Int32] 属性

定义

获取或设置指定索引处的元素。Gets or sets the element 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; }
member this.System.Collections.IList.Item(int) : obj with get, set
 Property Item(index As Integer) As Object Implements IList.Item

参数

index
Int32

要获取或设置的元素的从零开始的索引。The zero-based index of the element to get or set.

属性值

Object

指定索引处的元素。The element at the specified index.

实现

例外

index 不是 IList 中的有效索引。index is not a valid index in the IList.

设置了该属性,但 IList 为只读。The property is set and the IList is read-only.

适用于