Tuple<T1,T2,T3,T4,T5>.ITuple.Item[Int32] Propriedade
Definição
Obtém o valor do elemento Tuple especificado.Gets the value of the specified 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; }
object System.Runtime.CompilerServices.ITuple.Item[int index] { get; }
member this.System.Runtime.CompilerServices.ITuple.Item(int) : obj
ReadOnly Property Item(index As Integer) As Object Implements ITuple.Item
Parâmetros
- index
- Int32
O índice do elemento Tuple especificado.The index of the specified Tuple element. index pode variar de 0 a 4.index can range from 0 to 4.
Valor da propriedade
O valor do elemento Tuple na posição especificada.The value of the Tuple element at the specified position.
Implementações
Exceções
index é menor que 0 ou maior que 4.index is less than 0 or greater than 4.
Comentários
A Tuple<T1,T2,T3,T4,T5>.ITuple.Item[] propriedade é uma implementação de interface explícita.The Tuple<T1,T2,T3,T4,T5>.ITuple.Item[] property is an explicit interface implementation. Para chamá-lo, você deve converter o Tuple<T1,T2,T3,T4,T5> objeto em um ITuple objeto de interface.To call it, you must cast or convert the Tuple<T1,T2,T3,T4,T5> object to an ITuple interface object.