ItemsProviderDelegate<TItem> Delegate
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.
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);
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))
Type Parameters
- TItem
The type of the context for each item in the list.
Parameters
- request
- ItemsProviderRequest
The ItemsProviderRequest defining the request details.
Return Value
ValueTask<ItemsProviderResult<TItem>>
A ValueTask whose result is a ItemsProviderResult<TItem> upon successful completion.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for