System.Tuple<T1,T2>.Item1 Property

Gets the value of the current Tuple`2 object's first component.

Syntax

public T1 Item1 { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can dynamically determine the type of the Tuple`2.Item1 component in one of two ways:

  • By calling the GetType method on the value that is returned by the Tuple`2.Item1 property.

  • By retrieving the Type object that represents the Tuple`2 object, and retrieving the first element from the array that is returned by its Type.GetGenericArguments method.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0