ItemClass Constructor(String,Boolean)
- Last UpdatedNov 06, 2025
- 1 minute read
The ItemClass() method is the constructor used to instantiate an item class. This overload of the method loads the specified item class from the database and, optionally, the item class's attribute data if the loadAttributes flag is true.
'Declaration
Public Function New( _
ByVal itemClassId As String, _
ByVal loadAttributes As Boolean _
)
public ItemClass(
string itemClassId,
bool loadAttributes
)
Parameters
- itemClassId
- Required. Holds the ID of the item class that should be loaded for this instance.
- loadAttributes
- Required. Holds a flag that, if set to true, specifies that the item class's attributes should be loaded.