GetItemClasses(String,String,Object,Object,Object,Object) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetItemClasses() method retrieves item classes and their properties from the database.
This overload of the method includes flags that indicate produced or consumed items as filter parameters. This overload also includes several other optional parameters by which to filter the item classes being retrieved.
public static DataSet GetItemClasses(
string itemClassId,
string itemClassDesc,
object produced,
object consumed,
object purchased,
object sold
)
Parameters
- itemClassId
- Optional. Holds an item class ID by which to filter the item classes being retrieved. Pass a null to not apply this filter option.
- itemClassDesc
- Optional. Holds an item class description by which to filter the item classes being retrieved. Pass a null to not apply this filter option.
- produced
Optional. Set to true or false to filter the results according to the state of the item class's Produced flag. Pass a null to not apply this filter option.
- consumed
Optional. Set to true or false to filter the results according to the state of the item class's Consumed flag. Pass a null to not apply this filter option.
- purchased
Optional. Set to true or false to filter the results according to the state of the item class's Purchased flag. Pass a null to not apply this filter option.
- sold
Optional. Set to true or false to filter the results according to the state of the item class's Sold flag. Pass a null to not apply this filter option.