ImmutableList.ToImmutableList ImmutableList.ToImmutableList ImmutableList.ToImmutableList ImmutableList.ToImmutableList Method

정의

오버로드

ToImmutableList<TSource>(IEnumerable<TSource>) ToImmutableList<TSource>(IEnumerable<TSource>) ToImmutableList<TSource>(IEnumerable<TSource>) ToImmutableList<TSource>(IEnumerable<TSource>)

시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 목록을 생성합니다.Enumerates a sequence and produces an immutable list of its contents.

ToImmutableList<TSource>(ImmutableList<TSource>) ToImmutableList<TSource>(ImmutableList<TSource>) ToImmutableList<TSource>(ImmutableList<TSource>)

ToImmutableList<TSource>(IEnumerable<TSource>) ToImmutableList<TSource>(IEnumerable<TSource>) ToImmutableList<TSource>(IEnumerable<TSource>) ToImmutableList<TSource>(IEnumerable<TSource>)

시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 목록을 생성합니다.Enumerates a sequence and produces an immutable list of its contents.

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

시퀀스의 요소 형식입니다.The type of the elements in the sequence.

매개 변수

source
IEnumerable<TSource>

열거할 시퀀스입니다.The sequence to enumerate.

반환

ImmutableList<TSource>

지정된 시퀀스의 항목을 포함하는 변경할 수 없는 목록입니다.An immutable list that contains the items in the specified sequence.

ToImmutableList<TSource>(ImmutableList<TSource>) ToImmutableList<TSource>(ImmutableList<TSource>) ToImmutableList<TSource>(ImmutableList<TSource>)

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableList<TSource> ^ ToImmutableList(System::Collections::Immutable::ImmutableList<TSource>::Builder ^ builder);
public static System.Collections.Immutable.ImmutableList<TSource> ToImmutableList<TSource> (this System.Collections.Immutable.ImmutableList<TSource>.Builder builder);
static member ToImmutableList : System.Collections.Immutable.ImmutableList<'Source>.Builder -> System.Collections.Immutable.ImmutableList<'Source>

형식 매개 변수

TSource

매개 변수

builder
ImmutableList<TSource>.Builder

반환

ImmutableList<TSource>

적용 대상