GenericPair<TValue1, TValue2> Constructor (TValue1)


Constructs a new GenericPair<TValue1, TValue2> object and assigns its first value to the specified value.

Namespace:   Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

public GenericPair(
	TValue1 _Val1


Type: TValue1

The value to store in first. The second value is assigned the default value for its type.

For more information, see pair::pair (STL-CLR).

.NET Framework
Available since 3.5
Return to top