ItemsProviderDelegate<TItem> Delegate
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.
A function that provides items to a virtualized source.
generic <typename TItem>
public delegate System::Threading::Tasks::ValueTask<Microsoft::AspNetCore::Components::Web::Virtualization::ItemsProviderResult<TItem>> ItemsProviderDelegate(ItemsProviderRequest request);
C#
public delegate System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderResult<TItem>> ItemsProviderDelegate<TItem>(ItemsProviderRequest request);
type ItemsProviderDelegate<'Item> = delegate of ItemsProviderRequest -> ValueTask<ItemsProviderResult<'Item>>
Public Delegate Function ItemsProviderDelegate(Of TItem)(request As ItemsProviderRequest) As ValueTask(Of ItemsProviderResult(Of TItem))
- TItem
The type of the context for each item in the list.
- request
- ItemsProviderRequest
The ItemsProviderRequest defining the request details.
ValueTask<ItemsProviderResult<TItem>>
A ValueTask whose result is a ItemsProviderResult<TItem> upon successful completion.
Product | Versions |
---|---|
ASP.NET Core | 5.0, 6.0, 7.0, 8.0, 9.0 |