ImmutableList<T>.Builder.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>

新的不可變清單,來自這個產生器所代表的清單。

適用於