GetByKey Method (QmSpecCharLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves a specification characteristic link record from the Qm_Spec_Char_Link table.
'Declaration
Public Shared Function GetByKey( _
ByVal qmSpecId As Integer, _
ByVal charId As Integer _
) As DataSet
'Usage
Dim qmSpecId As Integer
Dim charId As Integer
Dim value As DataSet
value = QmSpecCharLink.GetByKey(qmSpecId, charId)
Parameters
- qmSpecId
- Required. Holds the ID of the specification for the link that is being retrieved.
- charId
- Required. Holds the ID of the characteristic for the link that is being retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified specification characteristic link from the Qm_Spec_Char_Link table. If no matching record for the specified row is found, an empty DataSet is returned.