Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey> 구조체

정의

TKey대신 키로 TAlternateKey 사용하여 Dictionary<TKey,TValue> 작업을 수행하는 데 사용할 수 있는 형식을 제공합니다.

public: generic <typename TAlternateKey>
value class Dictionary<TKey, TValue>::AlternateLookup
public readonly struct Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey>
type Dictionary<'Key, 'Value>.AlternateLookup<'AlternateKey> = struct
Public Structure Dictionary(Of TKey, TValue).AlternateLookup(Of TAlternateKey)

형식 매개 변수

TKey
TValue
TAlternateKey

조회를 수행하기 위한 키의 대체 형식입니다.

상속
Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey>

속성

Dictionary

이 인스턴스가 작업을 수행하는 Dictionary<TKey,TValue> 가져옵니다.

Item[TAlternateKey]

지정된 대체 키와 연결된 값을 가져오거나 설정합니다.

메서드

ContainsKey(TAlternateKey)

Dictionary<TKey,TValue> 지정된 대체 키가 포함되어 있는지 여부를 확인합니다.

Remove(TAlternateKey)

Dictionary<TKey,TValue>지정된 대체 키가 있는 값을 제거합니다.

Remove(TAlternateKey, TKey, TValue)

Dictionary<TKey,TValue>지정된 대체 키가 있는 값을 제거하고 요소를 값 매개 변수에 복사합니다.

TryAdd(TAlternateKey, TValue)

지정한 키와 값을 사전에 추가하려고 시도합니다.

TryGetValue(TAlternateKey, TKey, TValue)

지정된 대체 키와 연결된 값을 가져옵니다.

TryGetValue(TAlternateKey, TValue)

지정된 대체 키와 연결된 값을 가져옵니다.

적용 대상