ITree<TKey,TValue> 인터페이스

정의

STL/CLR hash_map, , hash_multimaphash_sethash_multiset 개체의 인터페이스를 정의합니다.

generic <typename TKey, typename TValue>
public interface class ITree : ICloneable, Microsoft::VisualC::StlClr::Generic::IBidirectionalContainer<TValue>, System::Collections::ICollection
public interface ITree<TKey,TValue> : ICloneable, Microsoft.VisualC.StlClr.Generic.IBidirectionalContainer<TValue>, System.Collections.ICollection
type ITree<'Key, 'Value> = interface
    interface IBidirectionalContainer<'Value>
    interface ICloneable
    interface ICollection
    interface IEnumerable
Public Interface ITree(Of TKey, TValue)
Implements IBidirectionalContainer(Of TValue), ICloneable, ICollection

형식 매개 변수

TKey

제어되는 시퀀스에 있는 요소의 키 구성 요소 형식입니다.

TValue

제어되는 시퀀스에 있는 요소의 값 구성 요소 형식입니다.

구현

설명

일부 메서드, 특히 연산자는 매개 변수의 형식을 선언하지만 매개 변수 이름은 지정하지 않습니다. 이러한 매개 변수를 명명되지 않은 매개 변수라고 합니다. 이러한 메서드에 대한 설명서에서 A_0 자리 표시자는 명명되지 않은 매개 변수를 나타냅니다.

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

속성

Count

ICollection에 포함된 요소 수를 가져옵니다.

(다음에서 상속됨 ICollection)
IsSynchronized

ICollection에 대한 액세스가 동기화되어 스레드로부터 안전하게 보호되는지를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ICollection)
SyncRoot

ICollection에 대한 액세스를 동기화하는 데 사용할 수 있는 개체를 가져옵니다.

(다음에서 상속됨 ICollection)

메서드

begin(ContainerBidirectionalIterator<TValue>)

제어되는 시퀀스의 시작을 지정합니다.

clear()

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

Clone()

현재 인스턴스의 복사본인 새 개체를 만듭니다.

(다음에서 상속됨 ICloneable)
CopyTo(Array, Int32)

특정 ICollection 인덱스부터 시작하여 Array의 요소를 Array에 복사합니다.

(다음에서 상속됨 ICollection)
count(TKey)

지정한 키와 일치하는 요소의 수를 찾습니다.

empty()

컨테이너에 요소가 없는지 여부를 테스트합니다.

end(ContainerBidirectionalIterator<TValue>)

제어되는 시퀀스의 끝을 지정합니다.

equal_range(GenericPair<ContainerBidirectionalIterator<TValue>,ContainerBidirectionalIterator<TValue>>, TKey)

지정된 키와 일치하는 범위를 찾습니다.

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

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

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

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

erase(TKey)

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

find(ContainerBidirectionalIterator<TValue>, TKey)

지정된 키와 일치하는 요소를 찾습니다.

get_generation()

기본 컨테이너의 현재 변경 생성을 가져옵니다.

(다음에서 상속됨 IBidirectionalContainer<TValue>)
GetEnumerator()

컬렉션을 반복하는 열거자를 반환합니다.

(다음에서 상속됨 IEnumerable)
insert(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, TValue)

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

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

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

insert(IEnumerable<TValue>)

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

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

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

key_comp()

제어되는 시퀀스를 정렬하는 데 사용되는 순서 지정 대리자를 반환합니다. 이를 통해 두 키를 비교할 수 있습니다.

lower_bound(ContainerBidirectionalIterator<TValue>, TKey)

지정된 키와 일치하는 요소 범위의 시작 부분을 찾습니다.

rbegin(ReverseBidirectionalIterator<TValue>)

제어되는 역방향 시퀀스의 시작을 지정합니다.

rend(ReverseBidirectionalIterator<TValue>)

제어되는 역방향 시퀀스의 끝을 지정합니다.

size()

컨테이너의 요소 수를 셉니다.

swap(ITree<TKey,TValue>)

두 컨테이너의 내용을 바꿉니다.

upper_bound(ContainerBidirectionalIterator<TValue>, TKey)

지정된 키와 일치하는 요소 범위의 끝을 찾습니다.

value_comp()

제어되는 시퀀스를 정렬하는 데 사용되는 순서 지정 대리자를 반환합니다.

확장 메서드

Cast<TResult>(IEnumerable)

IEnumerable의 요소를 지정된 형식으로 캐스팅합니다.

OfType<TResult>(IEnumerable)

지정된 형식에 따라 IEnumerable의 요소를 필터링합니다.

AsParallel(IEnumerable)

쿼리를 병렬화할 수 있도록 합니다.

AsQueryable(IEnumerable)

IEnumerableIQueryable로 변환합니다.

적용 대상