Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IKeyIndexMapping Interface

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides methods that support mapping between an item's unique identifier and index.

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
Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute GuidAttribute VersionAttribute ContractVersionAttribute

Methods

Name Description
IndexFromKey(String)

Retrieves the index of the item that has the specified unique identifier (key).

KeyFromIndex(Int32)

Retrieves the unique identifier (key) for the item at the specified index.

Applies to


Feedback

Was this page helpful?