ITree<TKey,TValue> 인터페이스

정의

STL/CLRhash_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)를 참조하세요.

속성

Name Description
Count

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

(다음에서 상속됨 ICollection)
IsSynchronized

ICollection 대한 액세스가 동기화되는지 여부를 나타내는 값을 가져옵니다(스레드로부터 안전).

(다음에서 상속됨 ICollection)
SyncRoot

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

(다음에서 상속됨 ICollection)

메서드

Name Description
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>, ContainerBidirectionalIterator<TValue>)

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

erase(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()

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

확장명 메서드

Name Description
AsParallel(IEnumerable)

쿼리의 병렬 처리를 사용하도록 설정합니다.

AsQueryable(IEnumerable)

IEnumerable IQueryable변환합니다.

Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable)

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

적용 대상