Function OptionButton.getItemMetadata

Retrieves the metadata of an item. Metadata may be any type and can be used to store extra information about an item, such as an external string ID.

Variant getItemMetadata (
  const(long) idx
) nothrow @nogc const;