GenericPair<TValue1,TValue2>.swap(GenericPair<TValue1,TValue2>) 方法
定义
交换两个 GenericPair<TValue1,TValue2> 对象的内容。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))
参数
- _Right
- GenericPair<TValue1,TValue2>
要与其交换内容的 GenericPair<TValue1,TValue2> 对象。The GenericPair<TValue1,TValue2> object to swap contents with.