Share via


IKeyIndexMapping Schnittstelle

Definition

Stellt Methoden bereit, die die Zuordnung zwischen dem eindeutigen Bezeichner und dem Index eines Elements unterstützen.

public interface class IKeyIndexMapping
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Guid(2985540512, 4238, 22029, 150, 129, 38, 57, 27, 75, 195, 13)]
/// [Windows.Foundation.Metadata.Version(1)]
struct IKeyIndexMapping
/// [Windows.Foundation.Metadata.Guid(2985540512, 4238, 22029, 150, 129, 38, 57, 27, 75, 195, 13)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
struct IKeyIndexMapping
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Guid(2985540512, 4238, 22029, 150, 129, 38, 57, 27, 75, 195, 13)]
[Windows.Foundation.Metadata.Version(1)]
public interface IKeyIndexMapping
[Windows.Foundation.Metadata.Guid(2985540512, 4238, 22029, 150, 129, 38, 57, 27, 75, 195, 13)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public interface IKeyIndexMapping
Public Interface IKeyIndexMapping
Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute GuidAttribute VersionAttribute ContractVersionAttribute

Methoden

IndexFromKey(String)

Ruft den Index des Elements ab, das über den angegebenen eindeutigen Bezeichner (Key) verfügt.

KeyFromIndex(Int32)

Ruft den eindeutigen Bezeichner (Schlüssel) für das Element am angegebenen Index ab.

Gilt für: