IList<TValue>.erase Método
Definição
Remove elementos do contêiner.Removes elements from the container.
Sobrecargas
| erase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>) |
Remove o único elemento da sequência controlada apontado pelo iterador fornecido.Removes the single element of the controlled sequence pointed to by the given iterator. |
| erase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>) |
Remove os elementos da sequência controlada no [ _ primeiro intervalo _ ITER, _ Last _ ITER).Removes the elements of the controlled sequence in the range [_First_iter, _Last_iter). |
Comentários
Para obter mais informações, consulte list:: Erase (STL/CLR).For more information, see list::erase (STL/CLR).
erase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)
Remove o único elemento da sequência controlada apontado pelo iterador fornecido.Removes the single element of the controlled sequence pointed to by the given iterator.
public:
void ^ erase(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ % , Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _Where);
public void erase (ref Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> , Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _Where);
abstract member erase : ContainerBidirectionalIterator * Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> -> unit
Public Function erase (ByRef As ContainerBidirectionalIterator(Of TValue), _Where As ContainerBidirectionalIterator(Of TValue)) As Void
Parâmetros
A posição do elemento a ser apagado.The position of the element to erase.
Comentários
Para obter mais informações, consulte list:: Erase (STL/CLR).For more information, see list::erase (STL/CLR).
Aplica-se a
erase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)
Remove os elementos da sequência controlada no [ _ primeiro intervalo _ ITER, _ Last _ ITER).Removes the elements of the controlled sequence in the range [_First_iter, _Last_iter).
public:
void ^ erase(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ % , Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _First_iter, Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _Last_iter);
public void erase (ref Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> , Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _First_iter, Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _Last_iter);
abstract member erase : ContainerBidirectionalIterator * Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> * Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> -> unit
Public Function erase (ByRef As ContainerBidirectionalIterator(Of TValue), _First_iter As ContainerBidirectionalIterator(Of TValue), _Last_iter As ContainerBidirectionalIterator(Of TValue)) As Void
Parâmetros
- _First_iter
- ContainerBidirectionalIterator<TValue>
A posição de início do intervalo de elementos a ser apagada.The beginning position of the range of elements to erase.
- _Last_iter
- ContainerBidirectionalIterator<TValue>
A primeira posição além do intervalo de elementos a ser apagada.The first position beyond the range of elements to erase.
Comentários
Para obter mais informações, consulte list:: Erase (STL/CLR).For more information, see list::erase (STL/CLR).