ItemClassAttr Constructor(String,Int32)
- Last UpdatedNov 06, 2025
- 1 minute read
The ItemClassAttr() method is the constructor for the class. It initializes the properties of this item class attribute. This overload of the method passes the item_class_id and attr_id as parameters and retrieves the item class's specified attribute from the database to initialize the object.
'Declaration
Public Function New( _
ByVal itemClassId As String, _
ByVal attrId As Integer _
)
public ItemClassAttr(
string itemClassId,
int attrId
)
Parameters
- itemClassId
- Required. Holds the ID of the item class.
- attrId
- Required. Holds the ID of the attribute to initialize for this item class.