IDeque<TValue>.erase Método

Definição

Remove os elementos em posições especificadas.

Sobrecargas

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

Remove o elemento na posição especificada.

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

Remove os elementos entre os iteradores especificados.

Comentários

Para obter mais informações, consulte deque::erase (STL/CLR).

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

Remove o elemento na posição especificada.

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

Parâmetros

unnamedParam1
ContainerRandomAccessIterator<TValue>

Um iterador que designa o primeiro elemento restante além de todos os elementos removidos ou end(ContainerRandomAccessIterator<TValue>) se esse elemento não existe.

_Where
ContainerRandomAccessIterator<TValue>

O elemento a ser apagado.

Comentários

Para obter mais informações, consulte deque::erase (STL/CLR).

Aplica-se a

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

Remove os elementos entre os iteradores especificados.

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

Parâmetros

unnamedParam1
ContainerRandomAccessIterator<TValue>

Um iterador que designa o primeiro elemento restante além de todos os elementos removidos ou end(ContainerRandomAccessIterator<TValue>) se esse elemento não existe.

_First_iter
ContainerRandomAccessIterator<TValue>

A posição de início do intervalo a ser apagado.

_Last_iter
ContainerRandomAccessIterator<TValue>

Uma posição além do último elemento do intervalo a apagado.

Comentários

Para obter mais informações, consulte deque::erase (STL/CLR).

Aplica-se a