Tuple<T1>.ITuple.Item[Int32] Tuple<T1>.ITuple.Item[Int32] Tuple<T1>.ITuple.Item[Int32] Property

定义

获取 Tuple 元素的值。Gets the value of the Tuple element.

property System::Object ^ System::Runtime::CompilerServices::ITuple::Item[int] { System::Object ^ get(int index); };
object System.Runtime.CompilerServices.ITuple.Item[int index] { get; }
 ReadOnly Property Item(index As Integer) As Object Implements ITuple.Item

参数

index
Int32 Int32 Int32

Tuple 元素的索引。The index of the Tuple element. index 必须为 0。index must be 0.

属性值

Tuple 元素的值。The value of the Tuple element.

实现

异常

index 小于 0 或大于 0。index is less than 0 or greater than 0.

注解

Tuple<T1>.ITuple.Item[Int32]属性是显式接口实现。The Tuple<T1>.ITuple.Item[Int32] property is an explicit interface implementation. 若要调用该Tuple<T1>对象, 必须将对象强制转换或转换ITuple为接口对象。To call it, you must cast or convert the Tuple<T1> object to an ITuple interface object.

适用于