IVector<TValue>.erase 메서드

정의

컨테이너의 지정된 위치에서 요소를 제거합니다.

오버로드

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

_Where 가리키는 제어되는 시퀀스의 단일 요소를 제거합니다.

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

[_First_iter, _Last_iter] 범위에서 제어되는 시퀀스의 요소를 제거합니다.

설명

자세한 내용은 vector::erase(STL/CLR)를 참조하세요.

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

_Where 가리키는 제어되는 시퀀스의 단일 요소를 제거합니다.

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

매개 변수

unnamedParam1
ContainerRandomAccessIterator<TValue>

제거된 요소 뒤에 남은 첫 번째 요소를 지정하는 반복기이거나, 이러한 요소가 없는 경우 end(ContainerRandomAccessIterator<TValue>)입니다.

_Where
ContainerRandomAccessIterator<TValue>

제거할 요소의 위치입니다.

설명

자세한 내용은 vector::erase(STL/CLR)를 참조하세요.

적용 대상

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

[_First_iter, _Last_iter] 범위에서 제어되는 시퀀스의 요소를 제거합니다.

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

매개 변수

unnamedParam1
ContainerRandomAccessIterator<TValue>

제거된 요소 뒤에 남은 첫 번째 요소를 지정하는 반복기이거나, 이러한 요소가 없는 경우 end(ContainerRandomAccessIterator<TValue>)입니다.

_First_iter
ContainerRandomAccessIterator<TValue>

지울 요소 범위의 시작입니다.

_Last_iter
ContainerRandomAccessIterator<TValue>

지울 요소 범위를 벗어나는 첫째 위치입니다.

설명

자세한 내용은 vector::erase(STL/CLR)를 참조하세요.

적용 대상