GetItemClass Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetItemClass() method retrieves the specified item class's details from the database and, optionally, its attributes.
'Declaration
Public Shared Function GetItemClass( _
ByVal itemClassId As String, _
ByVal loadAttributes As Boolean _
) As ItemClass
public static ItemClass GetItemClass(
string itemClassId,
bool loadAttributes
)
Parameters
- itemClassId
- Required. Holds the ID of the item class whose properties are being retrieved.
- loadAttributes
- Required. Holds a flag that, if set to true, specifies that the item class's attributes also be retrieved.
Return Value
Returns an item class object that represents the specified item class.