Function ItemList.setItemMetadata

Sets a value (of any type) to be stored with the item associated with the specified index.

void setItemMetadata(VariantArg1) (
  in long idx,
  in VariantArg1 metadata
);