IList<TValue>.erase Metoda

Definicja

Usuwa elementy z kontenera.Removes elements from the container.

Przeciążenia

erase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Usuwa pojedynczy element kontrolowanej sekwencji wskazywany przez dany iterator.Removes the single element of the controlled sequence pointed to by the given iterator.

erase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Usuwa elementy z kontrolowanej sekwencji z zakresu [ _pierwszego_ITER, _Ostatnia_ITER).Removes the elements of the controlled sequence in the range [_First_iter, _Last_iter).

Uwagi

Aby uzyskać więcej informacji, zobacz list:: Erase (STL/CLR).For more information, see list::erase (STL/CLR).

erase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Usuwa pojedynczy element kontrolowanej sekwencji wskazywany przez dany iterator.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

Parametry

_Where
ContainerBidirectionalIterator<TValue>

Pozycja elementu do wymazania.The position of the element to erase.

Uwagi

Aby uzyskać więcej informacji, zobacz list:: Erase (STL/CLR).For more information, see list::erase (STL/CLR).

erase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Usuwa elementy z kontrolowanej sekwencji z zakresu [ _pierwszego_ITER, _Ostatnia_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

Parametry

_First_iter
ContainerBidirectionalIterator<TValue>

Pozycja początkowa zakresu elementów do wymazania.The beginning position of the range of elements to erase.

_Last_iter
ContainerBidirectionalIterator<TValue>

Pierwsza pozycja poza zakresem elementów do wymazania.The first position beyond the range of elements to erase.

Uwagi

Aby uzyskać więcej informacji, zobacz list:: Erase (STL/CLR).For more information, see list::erase (STL/CLR).

Dotyczy