Converts the elements in the current NSArray to another type, and returns a list containing the converted elements.

C# | Visual Basic | Visual C++ |
public List<TOutput> ConvertAll<TInput, TOutput>( Converter<TInput, TOutput> converter ) where TInput : class, IManagedWrapper where TOutput : class, IManagedWrapper
Public Function ConvertAll(Of TInput As {Class, IManagedWrapper}, TOutput As {Class, IManagedWrapper}) ( _ converter As Converter(Of TInput, TOutput) _ ) As List(Of TOutput)
public: generic<typename TInput, typename TOutput> where TInput : ref class, IManagedWrapper where TOutput : ref class, IManagedWrapper List<TOutput>^ ConvertAll( Converter<TInput, TOutput>^ converter )

- TInput
- The type of the input.
- TOutput
- The type of the output.

- converter (Converter<(Of <(<'TInput, TOutput>)>)>)
- The converter.

A [!:Converter{TInput,TOutput}] delegate that converts each element from one type to another type.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)