GetByKey Method (ItemClass)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified item class record from the Item_Class table.
'Declaration
Public Shared Function GetByKey( _
ByVal itemClassId As String _
) As DataSet
public static DataSet GetByKey(
string itemClassId
)
Parameters
- itemClassId
- Required. Holds the ID of the item class.
Return Value
Returns a DataSet that contains the DataRow of the specified item class in the Item_Class table. If no matching record for the specified item class is found, an empty DataSet is returned.