Udostępnij za pośrednictwem


ListViewKeyToItemHandler Delegate

Definition

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

public delegate IAsyncOperation<Platform::Object ^> ^ ListViewKeyToItemHandler(Platform::String ^ key);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(654137429, 46384, 18056, 185, 240, 66, 130, 73, 23, 142, 248)]
class ListViewKeyToItemHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(654137429, 46384, 18056, 185, 240, 66, 130, 73, 23, 142, 248)]
public delegate IAsyncOperation<object> ListViewKeyToItemHandler(string key);
Public Delegate Function ListViewKeyToItemHandler(key As String) As IAsyncOperation(Of Object) 

Parameters

key
String

Platform::String

winrt::hstring

The key of the ListView item.

Return Value

IAsyncOperation<Object>

IAsyncOperation<Platform::Object>

IAsyncOperation<IInspectable>

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

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Applies to

See also