IList<TValue>.swap(IList<TValue>) Method

Definition

Swaps the contents of two containers.

public:
 void swap(Microsoft::VisualC::StlClr::IList<TValue> ^ _Right);
public void swap (Microsoft.VisualC.StlClr.IList<TValue> _Right);
abstract member swap : Microsoft.VisualC.StlClr.IList<'Value> -> unit
Public Sub swap (_Right As IList(Of TValue))

Parameters

_Right
IList<TValue>

The container to swap contents with.

Remarks

For more information, see list::swap (STL/CLR).

Applies to