GenericPair<TValue1,TValue2>.swap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.