AsyncEnumerable.Cast(IAsyncEnumerable
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.
Casts the elements of an IAsyncEnumerable
public:
generic
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IAsyncEnumerable ^ Cast(System::Collections::Generic::IAsyncEnumerable ^ source);
public static System.Collections.Generic.IAsyncEnumerable Cast(this System.Collections.Generic.IAsyncEnumerable
static member Cast : System.Collections.Generic.IAsyncEnumerable -> System.Collections.Generic.IAsyncEnumerable<'Result>
Public Function Cast(Of TResult) (source As IAsyncEnumerable(Of Object)) As IAsyncEnumerable(Of TResult)
Type Parameters
- TResult
The type to cast the elements of source to.
Parameters
- source
- IAsyncEnumerable<Object>
The IAsyncEnumerableTResult.
Returns
An IAsyncEnumerableTResult type.