ImmutableList<T>.Builder.ConvertAll<TOutput> Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria uma nova lista imutável a partir da lista representada por este construtor usando a função conversor.
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)
Parâmetros de Tipo Genérico
- TOutput
O tipo de saída da função de conversor de delegado.
Parâmetros
- converter
- Func<T,TOutput>
A função do conversor.
Devoluções
Uma nova lista imutável da lista representada por este construtor.