System.Tuple<T1>.Item1 Property

Gets the value of the Tuple`1 object's single component.

Syntax

public T1 Item1 { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

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

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

The example illustrates both approaches.

Requirements

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