GetByKey Method (SampleCharLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified sample_char_link record from the Sample_Char_Link table.
'Declaration
Public Shared Function GetByKey( _
ByVal sampleId As Integer, _
ByVal charId As Integer _
) As DataSet
'Usage
Dim sampleId As Integer
Dim charId As Integer
Dim value As DataSet
value = SampleCharLink.GetByKey(sampleId, charId)
Parameters
- sampleId
- Required. Holds the Sample Id of the record being retrieved.
- charId
- Required. Holds the Characteristic Id of the record being retrieved.