Bewerken

Share via


IStack<TValue,TCont>.assign(IStack<TValue,TCont>) Method

Definition

Replaces all elements in the container with the elements in the provided container.

public:
 void assign(Microsoft::VisualC::StlClr::IStack<TValue, TCont> ^ _Right);
public void assign (Microsoft.VisualC.StlClr.IStack<TValue,TCont> _Right);
abstract member assign : Microsoft.VisualC.StlClr.IStack<'Value, 'Cont> -> unit
Public Sub assign (_Right As IStack(Of TValue, TCont))

Parameters

_Right
IStack<TValue,TCont>

The container adapter whose elements are to be inserted into the container.

Remarks

For more information, see stack::assign (STL/CLR).

Applies to