CollectionBaseTConvertAllTOutput Method |
Convert this collection of items by applying a delegate to each item in the collection. The resulting enumeration
contains the result of applying converter to each item in this collection, in
order.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual IEnumerable<TOutput> ConvertAll<TOutput>(
Converter<T, TOutput> converter
)
public:
generic<typename TOutput>
virtual IEnumerable<TOutput>^ ConvertAll(
Converter<T, TOutput>^ converter
)
Parameters
- converter
- Type: SystemConverterT, TOutput
A delegate to the method to call, passing each item in this collection.
Type Parameters
- TOutput
- The type each item is being converted to.
Return Value
Type:
IEnumerableTOutputAn IEnumerable<TOutput^gt; that enumerates the resulting collection from applying
converter to each item in this collection in
order.
Exceptions
See Also