This is setLegendItem, a member of class OdDgDisplayStyleLegendXAttribute.
OdDgDisplayStyleLegendXAttribute Methods