GetItemClassAttr Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetItemClassAttr() method creates an ItemClassAttr object that represents the specified item class attribute. The item class attribute's properties are retrieved from the database.
'Declaration
Public Shared Function GetItemClassAttr( _
ByVal itemClassId As String, _
ByVal attrId As Integer _
) As ItemClassAttr
public static ItemClassAttr GetItemClassAttr(
string itemClassId,
int attrId
)
Parameters
- itemClassId
- Required. Holds the ID of the item class whose attributes are being retrieved.
- attrId
- Required. Holds the ID of the attribute that is being retrieved.
Return Value
Returns a DataSet that represents the specified item class attribute or null if the item class attribute doesn't exist.