ListViewKeyToItemHandler Délégué

Définition

Représente la méthode asynchrone qui gère le rappel pour la méthode SetRelativeScrollPositionAsync .

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) 

Paramètres

key
String

Platform::String

winrt::hstring

Clé de l’élément ListView .

Valeur renvoyée

IAsyncOperation<Object>

IAsyncOperation<Platform::Object>

IAsyncOperation<IInspectable>

Opération asynchrone qui, une fois terminée, retourne l’élément ListView représenté par la clé spécifiée.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

S’applique à

Voir aussi