ImmutableList<T>.ConvertAll<TOutput> メソッド

定義

現在の変更できないリスト内の要素を別の型に変換し、変換された要素を含むリストを返します。

public:
generic <typename TOutput>
 virtual 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>
Public Function ConvertAll(Of TOutput) (converter As Func(Of T, TOutput)) As ImmutableList(Of TOutput)

型パラメーター

TOutput

ターゲット配列の要素の型。

パラメーター

converter
Func<T,TOutput>

各要素を 1 つの型から別の型に変換するデリゲート。

返品

ImmutableList<TOutput>

現在の ImmutableList<T>から変換された要素を含むターゲット型のリスト。

適用対象