ImmutableList.ToImmutableList<TSource> 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
시퀀스를 열거하고 해당 내용의 변경할 수 없는 목록을 생성합니다.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableList<TSource> ^ ToImmutableList(System::Collections::Generic::IEnumerable<TSource> ^ source);
public static System.Collections.Immutable.ImmutableList<TSource> ToImmutableList<TSource>(this System.Collections.Generic.IEnumerable<TSource> source);
static member ToImmutableList : seq<'Source> -> System.Collections.Immutable.ImmutableList<'Source>
<Extension()>
Public Function ToImmutableList(Of TSource) (source As IEnumerable(Of TSource)) As ImmutableList(Of TSource)
형식 매개 변수
- TSource
시퀀스에 있는 요소의 형식입니다.
매개 변수
- source
- IEnumerable<TSource>
열거할 시퀀스입니다.
반품
ImmutableList<TSource>
지정된 시퀀스의 항목을 포함하는 변경할 수 없는 목록입니다.