Edit

Share via


GenericPair<TValue1,TValue2>.swap Method

Definition

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

public:
 void swap(Microsoft::VisualC::StlClr::GenericPair<TValue1, TValue2> ^ _Right);
public void swap (Microsoft.VisualC.StlClr.GenericPair<TValue1,TValue2> _Right);
member this.swap : Microsoft.VisualC.StlClr.GenericPair<'TValue1, 'TValue2> -> unit
Public Sub swap (_Right As GenericPair(Of TValue1, TValue2))

Parameters

_Right
GenericPair<TValue1,TValue2>

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

Applies to