ImmutableArray.ToImmutableArray<TSource> 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 컬렉션에서 변경할 수 없는 배열을 만듭니다.
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>
지정된 개체 컬렉션을 포함하는 변경할 수 없는 배열입니다.