GetByKey Method (ItemState)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified item state record from the Item_State table.
'Declaration
Public Shared Function GetByKey( _
ByVal itemStatusCd As Integer _
) As DataSet
public static DataSet GetByKey(
int itemStatusCd
)
Parameters
- itemStatusCd
- Required. Holds the code for the item state that is being retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified item state in the Item_State table. If no matching record for the specified item state is found, an empty DataSet is returned.