Share via


VirtualizingLayoutContext.GetItemAtCore(Int32) Method

Definition

When implemented in a derived class, retrieves the data item in the source found at the specified index.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

protected:
 virtual Platform::Object ^ GetItemAtCore(int index) = GetItemAtCore;
IInspectable GetItemAtCore(int const& index);
protected virtual object GetItemAtCore(int index);
Protected Overridable Function GetItemAtCore (index As Integer) As Object

Parameters

index
Int32

int

The index of the data item to retrieve.

Returns

Object

Platform::Object

IInspectable

The data item at the specified index.

Remarks

This method provides the behavior when GetItemAt is called.

The base implementation throws a NotImplementedException (winrt::hresult_not_implemented).

Applies to