ImmutableArray.ToImmutableArray<TSource> 메서드

정의

지정된 컬렉션에서 변경할 수 없는 배열을 만듭니다.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableArray<TSource> ToImmutableArray(System::Collections::Generic::IEnumerable<TSource> ^ items);
public static System.Collections.Immutable.ImmutableArray<TSource> ToImmutableArray<TSource>(this System.Collections.Generic.IEnumerable<TSource> items);
static member ToImmutableArray : seq<'Source> -> System.Collections.Immutable.ImmutableArray<'Source>
<Extension()>
Public Function ToImmutableArray(Of TSource) (items As IEnumerable(Of TSource)) As ImmutableArray(Of TSource)

형식 매개 변수

TSource

에 포함된 요소의 형식입니다 items.

매개 변수

items
IEnumerable<TSource>

변경할 수 없는 배열에 복사할 개체의 컬렉션입니다.

반품

ImmutableArray<TSource>

지정된 개체 컬렉션을 포함하는 변경할 수 없는 배열입니다.

적용 대상