ITuple.Item[Int32] Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the value of the specified Tuple
element.
public:
property System::Object ^ default[int] { System::Object ^ get(int index); };
C#
public object? this[int index] { get; }
C#
public object this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object
- index
- Int32
The index of the specified Tuple
element. index
can range from 0 for Item1
of the Tuple
to one less than the number of elements in the Tuple
.
The value of the specified Tuple
element.
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: