ITree<TKey,TValue>.erase 메서드

정의

컨테이너에서 요소를 제거합니다.

오버로드

erase(TKey)

컨테이너에서 지정된 키와 일치하는 요소를 제거합니다.

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

컨테이너에서 지정된 반복기가 지정하는 요소를 제거합니다.

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

컨테이너에서 지정된 반복기 사이에 있는 요소를 제거합니다.

설명

자세한 내용은 hash_map::erase(STL/CLR), hash_multimap::erase(STL/CLR), hash_set::erase(STL/CLR)hash_multiset::erase(STL/CLR)를 참조하세요.

erase(TKey)

컨테이너에서 지정된 키와 일치하는 요소를 제거합니다.

public:
 int erase(TKey _Keyval);
public int erase (TKey _Keyval);
abstract member erase : 'Key -> int
Public Function erase (_Keyval As TKey) As Integer

매개 변수

_Keyval
TKey

지울 키 값입니다.

반환

제거된 요소의 수입니다.

설명

자세한 내용은 hash_map::erase(STL/CLR), hash_multimap::erase(STL/CLR), hash_set::erase(STL/CLR)hash_multiset::erase(STL/CLR)를 참조하세요.

적용 대상

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

컨테이너에서 지정된 반복기가 지정하는 요소를 제거합니다.

public:
 void ^ erase(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ % unnamedParam1, Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _Where);
public void erase (ref Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> unnamedParam1, Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _Where);
abstract member erase : ContainerBidirectionalIterator * Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> -> unit
Public Function erase (ByRef unnamedParam1 As ContainerBidirectionalIterator(Of TValue), _Where As ContainerBidirectionalIterator(Of TValue)) As Void

매개 변수

unnamedParam1
ContainerBidirectionalIterator<TValue>

제거되는 요소 다음의 첫 번째 요소를 지정하는 반복기 또는 이러한 요소가 없는 경우 end(ContainerBidirectionalIterator<TValue>)입니다.

_Where
ContainerBidirectionalIterator<TValue>

지울 요소를 가리키는 반복기입니다.

설명

자세한 내용은 hash_map::erase(STL/CLR), hash_multimap::erase(STL/CLR), hash_set::erase(STL/CLR)hash_multiset::erase(STL/CLR)를 참조하세요.

적용 대상

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

컨테이너에서 지정된 반복기 사이에 있는 요소를 제거합니다.

public:
 void ^ erase(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ % unnamedParam1, 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> unnamedParam1, 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 unnamedParam1 As ContainerBidirectionalIterator(Of TValue), _First_iter As ContainerBidirectionalIterator(Of TValue), _Last_iter As ContainerBidirectionalIterator(Of TValue)) As Void

매개 변수

unnamedParam1
ContainerBidirectionalIterator<TValue>

제거되는 요소 다음의 첫 번째 요소를 지정하는 반복기이거나, 이러한 요소가 없는 경우 end(ContainerBidirectionalIterator<TValue>)입니다.

_First_iter
ContainerBidirectionalIterator<TValue>

지울 범위의 시작 부분을 가리키는 반복기입니다.

_Last_iter
ContainerBidirectionalIterator<TValue>

지울 범위 바로 다음의 위치를 가리키는 반복기입니다.

설명

자세한 내용은 hash_map::erase(STL/CLR), hash_multimap::erase(STL/CLR), hash_set::erase(STL/CLR)hash_multiset::erase(STL/CLR)를 참조하세요.

적용 대상