IVector<TValue>.erase Yöntem

Tanım

Kapsayıcıda belirtilen konumlardan öğeleri kaldırır.

Aşırı Yüklemeler

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

denetimli dizinin _Where tarafından işaret edilen tek öğesini kaldırır.

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

[_First_iter, _Last_iter] aralığındaki denetlenen dizinin öğelerini kaldırır.

Açıklamalar

Daha fazla bilgi için bkz. vector::erase (STL/CLR).

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

denetimli dizinin _Where tarafından işaret edilen tek öğesini kaldırır.

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

Parametreler

unnamedParam1
ContainerRandomAccessIterator<TValue>

Kaldırılan öğelerin ötesinde kalan veya böyle bir öğe yoksa ilk end(ContainerRandomAccessIterator<TValue>) öğeyi belirten bir yineleyici.

_Where
ContainerRandomAccessIterator<TValue>

Kaldırılacak öğenin konumu.

Açıklamalar

Daha fazla bilgi için bkz. vector::erase (STL/CLR).

Şunlara uygulanır

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

[_First_iter, _Last_iter] aralığındaki denetlenen dizinin öğelerini kaldırır.

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

Parametreler

unnamedParam1
ContainerRandomAccessIterator<TValue>

Kaldırılan öğelerin ötesinde kalan veya böyle bir öğe yoksa ilk end(ContainerRandomAccessIterator<TValue>) öğeyi belirten bir yineleyici.

_First_iter
ContainerRandomAccessIterator<TValue>

Silinecek öğe aralığının başlangıcı.

_Last_iter
ContainerRandomAccessIterator<TValue>

Silinecek öğe aralığının ötesindeki ilk konum.

Açıklamalar

Daha fazla bilgi için bkz. vector::erase (STL/CLR).

Şunlara uygulanır