GenericPair<TValue1, TValue2>.swap Method (GenericPair<TValue1, TValue2>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Swaps the contents of two GenericPair<TValue1, TValue2> objects.

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

public void swap(
	GenericPair<TValue1, TValue2> _Right
)

Parameters

_Right
Type: Microsoft.VisualC.StlClr.GenericPair<TValue1, TValue2>

The GenericPair<TValue1, TValue2> object to swap contents with.

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

Return to top
Show: