ValueTuple<T1,T2>.ITuple.Length Property
Definition
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.
Gets the number of elements in the ValueTuple
.
property int System::Runtime::CompilerServices::ITuple::Length { int get(); };
int System.Runtime.CompilerServices.ITuple.Length { get; }
member this.System.Runtime.CompilerServices.ITuple.Length : int
ReadOnly Property Length As Integer Implements ITuple.Length
Property Value
2, the number of elements in a ValueTuple<T1,T2> object.
Implements
Remarks
The ValueTuple<T1,T2>.ITuple.Length property is an explicit interface implementation. To call it, you must cast or convert the ValueTuple<T1,T2> object to an ITuple interface object.
Applies to
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.