IAsyncQueryExecutor.ToArrayAsync<T>(IQueryable<T>) 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.
Asynchronously materializes the IQueryable<T> as an array, if supported.
public System.Threading.Tasks.Task<T[]> ToArrayAsync<T> (System.Linq.IQueryable<T> queryable);
abstract member ToArrayAsync : System.Linq.IQueryable<'T> -> System.Threading.Tasks.Task<'T[]>
Public Function ToArrayAsync(Of T) (queryable As IQueryable(Of T)) As Task(Of T())
Type Parameters
- T
The data type.
Parameters
- queryable
- IQueryable<T>
An IQueryable<T> instance.
Returns
Task<T[]>
The items in the queryable
.