Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5
© 2015 Microsoft