Condividi tramite


AsyncQueryableExtensions.Take<TEntity> Method

Definition

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<TEntity> Take<TEntity> (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<TEntity> source, int count) where TEntity : Microsoft.VisualStudio.ProjectSystem.Query.IEntity;
static member Take : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<'Entity (requires 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntity)> * int -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<'Entity (requires 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntity)> (requires 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntity)
<Extension()>
Public Function Take(Of TEntity As IEntity) (source As IAsyncQueryable(Of TEntity), count As Integer) As IAsyncQueryable(Of TEntity)

Type Parameters

TEntity

Parameters

count
Int32

Returns

Applies to