IDeque<TValue>.erase Metoda

Definicja

Usuwa elementy z określonych pozycji.

Przeciążenia

erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)

Usuwa element na określonej pozycji.

erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)

Usuwa elementy między określonymi iteratorami.

Uwagi

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

erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)

Usuwa element na określonej pozycji.

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

Parametry

unnamedParam1
ContainerRandomAccessIterator<TValue>

Iterator, który wyznacza pierwszy element pozostały poza usuniętymi elementami lub end(ContainerRandomAccessIterator<TValue>) jeśli taki element nie istnieje.

_Where
ContainerRandomAccessIterator<TValue>

Element do wymazywania.

Uwagi

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

Dotyczy

erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)

Usuwa elementy między określonymi iteratorami.

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

Parametry

unnamedParam1
ContainerRandomAccessIterator<TValue>

Iterator, który wyznacza pierwszy element pozostały poza usuniętymi elementami lub end(ContainerRandomAccessIterator<TValue>) jeśli taki element nie istnieje.

_First_iter
ContainerRandomAccessIterator<TValue>

Pozycja początkowa zakresu do wymazywania.

_Last_iter
ContainerRandomAccessIterator<TValue>

Pozycja spoza ostatniego elementu zakresu do wymazywania.

Uwagi

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

Dotyczy