ImmutableList.ToImmutableList<TSource> 메서드

정의

시퀀스를 열거하고 해당 내용의 변경할 수 없는 목록을 생성합니다.

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>

지정된 시퀀스의 항목을 포함하는 변경할 수 없는 목록입니다.

적용 대상