共用方式為


GridItemsProviderResult.From<TGridItem> 方法

定義

public static Microsoft.AspNetCore.Components.QuickGrid.GridItemsProviderResult<TGridItem> From<TGridItem> (System.Collections.Generic.ICollection<TGridItem> items, int totalItemCount);
static member From : System.Collections.Generic.ICollection<'GridItem> * int -> Microsoft.AspNetCore.Components.QuickGrid.GridItemsProviderResult<'GridItem>
Public Shared Function From(Of TGridItem) (items As ICollection(Of TGridItem), totalItemCount As Integer) As GridItemsProviderResult(Of TGridItem)

類型參數

TGridItem

方格中每個數據列所代表的數據類型。

參數

items
ICollection<TGridItem>

提供的專案。

totalItemCount
Int32

存在的項目總數。 如需詳細資訊,請參閱<TotalItemCount>。

傳回

GridItemsProviderResult<TGridItem> 的執行個體。

適用於