Share via


ImmutableList<T>.ConvertAll<TOutput> 메서드

정의

현재 변경할 수 없는 목록의 요소를 다른 형식으로 변환하고 변환된 요소를 포함하는 목록을 반환합니다.

public:
generic <typename TOutput>
 virtual System::Collections::Immutable::ImmutableList<TOutput> ^ ConvertAll(Func<T, TOutput> ^ converter);
public:
generic <typename TOutput>
 System::Collections::Immutable::ImmutableList<TOutput> ^ ConvertAll(Func<T, TOutput> ^ converter);
public System.Collections.Immutable.ImmutableList<TOutput> ConvertAll<TOutput> (Func<T,TOutput> converter);
abstract member ConvertAll : Func<'T, 'Output> -> System.Collections.Immutable.ImmutableList<'Output>
override this.ConvertAll : Func<'T, 'Output> -> System.Collections.Immutable.ImmutableList<'Output>
member this.ConvertAll : Func<'T, 'Output> -> System.Collections.Immutable.ImmutableList<'Output>
Public Function ConvertAll(Of TOutput) (converter As Func(Of T, TOutput)) As ImmutableList(Of TOutput)

형식 매개 변수

TOutput

대상 배열 요소의 형식입니다.

매개 변수

converter
Func<T,TOutput>

각 요소를 한 형식에서 다른 형식으로 변환하는 대리자입니다.

반환

ImmutableList<TOutput>

현재 ImmutableList<T>에서 변환된 요소를 포함하는 대상 유형의 목록입니다.

적용 대상