Share via


ItemsSourceView.GetAt(Int32) Method

Definition

Retrieves the item 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).

public:
 virtual Platform::Object ^ GetAt(int index) = GetAt;
IInspectable GetAt(int const& index);
public object GetAt(int index);
Public Function GetAt (index As Integer) As Object

Parameters

index
Int32

int

The index of the item to retrieve.

Returns

Object

Platform::Object

IInspectable

The item at the specified index.

Remarks

Use the Count property to make sure you are passing a valid index.

Applies to