IDeque<TValue>.insert Metoda

Definicja

Dodaje elementy na określonej pozycji w kontenerze.

Przeciążenia

insert(ContainerRandomAccessIterator<TValue>, IEnumerable)

Dodaje elementy na określonej pozycji w kontenerze.

insert(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, TValue)

Dodaje element na określonej pozycji w kontenerze.

insert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>)

Dodaje elementy na określonej pozycji w kontenerze.

insert(ContainerRandomAccessIterator<TValue>, Int32, TValue)

Dodaje element na określonej pozycji w kontenerze.

Uwagi

Aby uzyskać więcej informacji, zobacz deque::insert (STL/CLR).

insert(ContainerRandomAccessIterator<TValue>, IEnumerable)

Dodaje elementy na określonej pozycji w kontenerze.

public:
 void insert(Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ _Where_iter, System::Collections::IEnumerable ^ _Right);
public void insert (Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> _Where_iter, System.Collections.IEnumerable _Right);
abstract member insert : Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<'Value> * System.Collections.IEnumerable -> unit
Public Sub insert (_Where_iter As ContainerRandomAccessIterator(Of TValue), _Right As IEnumerable)

Parametry

_Where_iter
ContainerRandomAccessIterator<TValue>

Lokalizacja w kontenerze, przed którym ma być wstawiona.

_Right
IEnumerable

Wyliczanie elementów do wstawiania do kontenera.

Dotyczy

insert(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, TValue)

Dodaje element na określonej pozycji w kontenerze.

public:
 void ^ insert(Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ % unnamedParam1, Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ _Where, TValue _Val);
public void insert (ref Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> unnamedParam1, Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> _Where, TValue _Val);
abstract member insert : ContainerRandomAccessIterator * Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<'Value> * 'Value -> unit
Public Function insert (ByRef unnamedParam1 As ContainerRandomAccessIterator(Of TValue), _Where As ContainerRandomAccessIterator(Of TValue), _Val As TValue) As Void

Parametry

unnamedParam1
ContainerRandomAccessIterator<TValue>

Iterator, który wyznacza nowo wstawiony element.

_Where
ContainerRandomAccessIterator<TValue>

Lokalizacja w kontenerze, przed którym ma być wstawiona.

_Val
TValue

Element, który ma zostać wstawiony do kontenera.

Dotyczy

insert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>)

Dodaje elementy na określonej pozycji w kontenerze.

public:
 void insert(Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ _Where, Microsoft::VisualC::StlClr::Generic::IInputIterator<TValue> ^ _First, Microsoft::VisualC::StlClr::Generic::IInputIterator<TValue> ^ _Last);
public void insert (Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> _Where, Microsoft.VisualC.StlClr.Generic.IInputIterator<TValue> _First, Microsoft.VisualC.StlClr.Generic.IInputIterator<TValue> _Last);
abstract member insert : Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<'Value> * Microsoft.VisualC.StlClr.Generic.IInputIterator<'Value> * Microsoft.VisualC.StlClr.Generic.IInputIterator<'Value> -> unit
Public Sub insert (_Where As ContainerRandomAccessIterator(Of TValue), _First As IInputIterator(Of TValue), _Last As IInputIterator(Of TValue))

Parametry

_Where
ContainerRandomAccessIterator<TValue>

Lokalizacja w kontenerze, przed którym ma być wstawiona.

_First
IInputIterator<TValue>

Początek zakresu do wstawienia do kontenera.

_Last
IInputIterator<TValue>

Pierwsze położenie poza końcem zakresu do wstawienia do kontenera.

Dotyczy

insert(ContainerRandomAccessIterator<TValue>, Int32, TValue)

Dodaje element na określonej pozycji w kontenerze.

public:
 void insert(Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ _Where, int _Count, TValue _Val);
public void insert (Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> _Where, int _Count, TValue _Val);
abstract member insert : Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<'Value> * int * 'Value -> unit
Public Sub insert (_Where As ContainerRandomAccessIterator(Of TValue), _Count As Integer, _Val As TValue)

Parametry

_Where
ContainerRandomAccessIterator<TValue>

Lokalizacja w kontenerze, przed którym ma być wstawiona.

_Count
Int32

Liczba elementów do wstawienia do kontenera.

_Val
TValue

Element, który ma zostać wstawiony do kontenera.

Uwagi

Aby uzyskać więcej informacji, zobacz deque::insert (STL/CLR).

Dotyczy