ObjectMaterializer<TDataReader>.Convert<TOutput> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the type of each element in a specified sequence.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
generic <typename TOutput>
static System::Collections::Generic::IEnumerable<TOutput> ^ Convert(System::Collections::IEnumerable ^ source);
public static System.Collections.Generic.IEnumerable<TOutput> Convert<TOutput> (System.Collections.IEnumerable source);
static member Convert : System.Collections.IEnumerable -> seq<'Output>
Public Shared Function Convert(Of TOutput) (source As IEnumerable) As IEnumerable(Of TOutput)
Public Shared Iterator Function Convert(Of TOutput) (source As IEnumerable) As IEnumerable(Of TOutput)
Type Parameters
- TOutput
The type to convert the elements to.
Parameters
- source
- IEnumerable
A sequence that contains elements to convert.
Returns
IEnumerable<TOutput>
A sequence that contains the type-converted elements.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for