ListViewKeyToItemHandler Delegat

Definition

Stellt die asynchrone Methode dar, die rückrufe für die SetRelativeScrollPositionAsync-Methode verarbeitet.

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) 

Parameter

key
String

Platform::String

winrt::hstring

Der Schlüssel des ListView-Elements .

Rückgabewert

IAsyncOperation<Object>

IAsyncOperation<Platform::Object>

IAsyncOperation<IInspectable>

Ein asynchroner Vorgang, der nach erfolgreichem Abschluss das Durch den angegebenen Schlüssel dargestellte ListView-Element zurückgibt.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Gilt für:

Weitere Informationen