GetByKey(String,Int32) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified item attribute record from the Item_Attr table.
This overload of the method identifies the item attribute by its ID.
Parameters
- itemId
- Required. Holds the ID of the item for which an attribute is being retrieved.
- attrId
- Required. Holds the ID of the attribute to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified item attribute in the Item_Attr table. If no matching record for the specified item attribute is found, an empty DataSet is returned.