ITree<TKey,TValue>.insert 메서드

정의

컨테이너에 요소를 추가합니다.

오버로드

insert(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, TValue)

컨테이너에 지정된 요소를 추가합니다.

insert(GenericPair<ContainerBidirectionalIterator<TValue>,Boolean>, TValue)

컨테이너에 지정된 값을 추가합니다.

insert(IEnumerable<TValue>)

컨테이너에 지정된 열거형을 추가합니다.

insert(IInputIterator<TValue>, IInputIterator<TValue>)

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

설명

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

insert(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, TValue)

컨테이너에 지정된 요소를 추가합니다.

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

매개 변수

unnamedParam1
ContainerBidirectionalIterator<TValue>

새로 삽입된 요소를 지정하는 반복기입니다.

_Where
ContainerBidirectionalIterator<TValue>

컨테이너에서 요소를 삽입할 위치를 지정하는 반복기입니다. 이 값은 참고용으로만 제공되며 성능 향상을 위해 사용됩니다. 요소가 이 위치에 삽입되지 않을 수도 있습니다.

_Val
TValue

컨테이너에 삽입할 키 값입니다.

설명

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

적용 대상

insert(GenericPair<ContainerBidirectionalIterator<TValue>,Boolean>, TValue)

컨테이너에 지정된 값을 추가합니다.

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

매개 변수

unnamedParam1
GenericPair<ContainerBidirectionalIterator<TValue>,Boolean>

X. 값 쌍인 X.second가 true이면 X.first는 새로 삽입되는 요소를 지정하고, 그렇지 않으면 X.first는 이미 있는 요소를 동일한 순서로 지정하며 새 요소가 삽입되지 않습니다.

_Val
TValue

컨테이너에 삽입할 키 값입니다.

설명

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

적용 대상

insert(IEnumerable<TValue>)

컨테이너에 지정된 열거형을 추가합니다.

public:
 void insert(System::Collections::Generic::IEnumerable<TValue> ^ _Right);
public void insert (System.Collections.Generic.IEnumerable<TValue> _Right);
abstract member insert : seq<'Value> -> unit
Public Sub insert (_Right As IEnumerable(Of TValue))

매개 변수

_Right
IEnumerable<TValue>

컨테이너에 삽입할 열거형입니다.

설명

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

적용 대상

insert(IInputIterator<TValue>, IInputIterator<TValue>)

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

public:
 void insert(Microsoft::VisualC::StlClr::Generic::IInputIterator<TValue> ^ _First, Microsoft::VisualC::StlClr::Generic::IInputIterator<TValue> ^ _Last);
public void insert (Microsoft.VisualC.StlClr.Generic.IInputIterator<TValue> _First, Microsoft.VisualC.StlClr.Generic.IInputIterator<TValue> _Last);
abstract member insert : Microsoft.VisualC.StlClr.Generic.IInputIterator<'Value> * Microsoft.VisualC.StlClr.Generic.IInputIterator<'Value> -> unit
Public Sub insert (_First As IInputIterator(Of TValue), _Last As IInputIterator(Of TValue))

매개 변수

_First
IInputIterator<TValue>

삽입할 요소 범위의 시작 부분을 가리키는 반복기입니다.

_Last
IInputIterator<TValue>

삽입할 요소 범위 바로 다음의 요소를 가리키는 반복기입니다.

설명

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

적용 대상