ImmutableSortedDictionary.ToImmutableSortedDictionary 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>)
키/값 쌍의 시퀀스를 열거하고 해당 내용의 변경할 수 없는 정렬된 사전을 생성합니다.
public:
generic <typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ source);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue>(this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> source);
static member ToImmutableSortedDictionary : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TKey, TValue) (source As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As ImmutableSortedDictionary(Of TKey, TValue)
형식 매개 변수
- TKey
사전에 있는 키의 형식입니다.
- TValue
사전에 있는 값의 형식입니다.
매개 변수
- source
- IEnumerable<KeyValuePair<TKey,TValue>>
열거할 키/값 쌍의 시퀀스입니다.
반품
지정된 시퀀스의 키/값 쌍을 포함하는 변경할 수 없는 정렬된 사전입니다.
적용 대상
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>)
키/값 쌍의 시퀀스를 열거하고 지정된 키 비교자를 사용하여 해당 내용의 변경할 수 없는 사전을 생성합니다.
public:
generic <typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ source, System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue>(this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> source, System.Collections.Generic.IComparer<TKey> keyComparer);
static member ToImmutableSortedDictionary : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> * System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TKey, TValue) (source As IEnumerable(Of KeyValuePair(Of TKey, TValue)), keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue)
형식 매개 변수
- TKey
사전에 있는 키의 형식입니다.
- TValue
사전에 있는 값의 형식입니다.
매개 변수
- source
- IEnumerable<KeyValuePair<TKey,TValue>>
열거할 키/값 쌍의 시퀀스입니다.
- keyComparer
- IComparer<TKey>
변경할 수 없는 사전을 빌드할 때 사용할 키 비교자입니다.
반품
지정된 시퀀스의 키/값 쌍을 포함하는 변경할 수 없는 정렬된 사전입니다.
적용 대상
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>, IEqualityComparer<TValue>)
키/값 쌍의 시퀀스를 열거하고 지정된 키 및 값 비교자를 사용하여 변경 불가능한 정렬된 콘텐츠 사전을 생성합니다.
public:
generic <typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ source, System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue>(this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> source, System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
static member ToImmutableSortedDictionary : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> * System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TKey, TValue) (source As IEnumerable(Of KeyValuePair(Of TKey, TValue)), keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue)
형식 매개 변수
- TKey
사전에 있는 키의 형식입니다.
- TValue
사전에 있는 값의 형식입니다.
매개 변수
- source
- IEnumerable<KeyValuePair<TKey,TValue>>
열거할 키/값 쌍의 시퀀스입니다.
- keyComparer
- IComparer<TKey>
변경할 수 없는 사전을 빌드할 때 사용할 키 비교자입니다.
- valueComparer
- IEqualityComparer<TValue>
변경할 수 없는 사전에 사용할 값 비교자입니다.
반품
지정된 시퀀스의 키/값 쌍을 포함하는 변경할 수 없는 정렬된 사전입니다.
적용 대상
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)
시퀀스를 열거 및 변환하고 해당 내용의 변경할 수 없는 정렬된 사전을 생성합니다.
public:
generic <typename TSource, typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<TSource> ^ source, Func<TSource, TKey> ^ keySelector, Func<TSource, TValue> ^ elementSelector);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TSource,TKey,TValue>(this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,TKey> keySelector, Func<TSource,TValue> elementSelector);
static member ToImmutableSortedDictionary : seq<'Source> * Func<'Source, 'Key> * Func<'Source, 'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TSource, TKey, TValue) (source As IEnumerable(Of TSource), keySelector As Func(Of TSource, TKey), elementSelector As Func(Of TSource, TValue)) As ImmutableSortedDictionary(Of TKey, TValue)
형식 매개 변수
- TSource
시퀀스에 있는 요소의 형식입니다.
- TKey
결과 사전에 있는 키의 형식입니다.
- TValue
결과 사전에 있는 값의 형식입니다.
매개 변수
- source
- IEnumerable<TSource>
사전을 생성하기 위해 열거할 시퀀스입니다.
- keySelector
- Func<TSource,TKey>
각 시퀀스 요소에서 사전에 대한 키를 생성하는 함수입니다.
- elementSelector
- Func<TSource,TValue>
각 시퀀스 요소에서 사전에 대한 값을 생성하는 함수입니다.
반품
지정된 시퀀스의 항목을 포함하는 변경할 수 없는 정렬된 사전입니다.
적용 대상
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>)
시퀀스를 열거 및 변환하고 지정된 키 비교자를 사용하여 변경 불가능한 정렬된 해당 내용 사전을 생성합니다.
public:
generic <typename TSource, typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<TSource> ^ source, Func<TSource, TKey> ^ keySelector, Func<TSource, TValue> ^ elementSelector, System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TSource,TKey,TValue>(this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,TKey> keySelector, Func<TSource,TValue> elementSelector, System.Collections.Generic.IComparer<TKey> keyComparer);
static member ToImmutableSortedDictionary : seq<'Source> * Func<'Source, 'Key> * Func<'Source, 'Value> * System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TSource, TKey, TValue) (source As IEnumerable(Of TSource), keySelector As Func(Of TSource, TKey), elementSelector As Func(Of TSource, TValue), keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue)
형식 매개 변수
- TSource
시퀀스에 있는 요소의 형식입니다.
- TKey
결과 사전에 있는 키의 형식입니다.
- TValue
결과 사전에 있는 값의 형식입니다.
매개 변수
- source
- IEnumerable<TSource>
사전을 생성하기 위해 열거할 시퀀스입니다.
- keySelector
- Func<TSource,TKey>
각 시퀀스 요소에서 사전에 대한 키를 생성하는 함수입니다.
- elementSelector
- Func<TSource,TValue>
각 시퀀스 요소에서 사전에 대한 값을 생성하는 함수입니다.
- keyComparer
- IComparer<TKey>
사전에 사용할 키 비교자입니다.
반품
지정된 시퀀스의 항목을 포함하는 변경할 수 없는 사전입니다.
적용 대상
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>)
시퀀스를 열거 및 변환하고 지정된 키 및 값 비교자를 사용하여 해당 내용의 변경할 수 없는 정렬된 사전을 생성합니다.
public:
generic <typename TSource, typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<TSource> ^ source, Func<TSource, TKey> ^ keySelector, Func<TSource, TValue> ^ elementSelector, System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TSource,TKey,TValue>(this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,TKey> keySelector, Func<TSource,TValue> elementSelector, System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
static member ToImmutableSortedDictionary : seq<'Source> * Func<'Source, 'Key> * Func<'Source, 'Value> * System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TSource, TKey, TValue) (source As IEnumerable(Of TSource), keySelector As Func(Of TSource, TKey), elementSelector As Func(Of TSource, TValue), keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue)
형식 매개 변수
- TSource
시퀀스에 있는 요소의 형식입니다.
- TKey
결과 사전에 있는 키의 형식입니다.
- TValue
결과 사전에 있는 값의 형식입니다.
매개 변수
- source
- IEnumerable<TSource>
사전을 생성하기 위해 열거할 시퀀스입니다.
- keySelector
- Func<TSource,TKey>
각 시퀀스 요소에서 사전에 대한 키를 생성하는 함수입니다.
- elementSelector
- Func<TSource,TValue>
각 시퀀스 요소에서 사전에 대한 값을 생성하는 함수입니다.
- keyComparer
- IComparer<TKey>
사전에 사용할 키 비교자입니다.
- valueComparer
- IEqualityComparer<TValue>
사전에 사용할 값 비교자입니다.
반품
지정된 시퀀스의 항목을 포함하는 변경할 수 없는 정렬된 사전입니다.