ListViewKeyToItemHandler ListViewKeyToItemHandler ListViewKeyToItemHandler ListViewKeyToItemHandler Delegate

Definition

Represents the asynchronous method that will handle callback for the SetRelativeScrollPositionAsync method.

public : delegate IAsyncOperation<Platform::Object> ListViewKeyToItemHandler(Platform::String key)
struct ListViewKeyToItemHandler : winrt::Windows::Foundation::IUnknown
{
   ListViewKeyToItemHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> ListViewKeyToItemHandler(L lambda);
   template <typename F> ListViewKeyToItemHandler(F* function);
   template <typename O, typename M> ListViewKeyToItemHandler(O* object, M method);
   winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable> operator()(winrt::hstring const& key) const;
};
public delegate IAsyncOperation<object> ListViewKeyToItemHandler(String key)
Public Delegate Function ListViewKeyToItemHandler(key As String) As IAsyncOperation(Of object)

Parameters

key
String String

The key of the ListView item.

Return Value

Windows.Foundation.IAsyncOperation<object>

An asynchronous operation that, upon successful completion, returns the ListView item represented by the specified key.

Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

See also