GetByFilter Method (Characteristic)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByFilter() method retrieves a set of characteristic records based on the input filters.
In this overload of the method, the characteristic group filter is identified by its group ID.
'Declaration
Public Shared Function GetByFilter( _
ByVal charName As String, _
ByVal charDesc As String, _
ByVal categoryId As Nullable(Of Integer), _
ByVal type As Nullable(Of Integer), _
ByVal severityCd As Nullable(Of Integer) _
) As DataSet
'Usage
Dim charName As String
Dim charDesc As String
Dim categoryId As Nullable(Of Integer)
Dim type As Nullable(Of Integer)
Dim severityCd As Nullable(Of Integer)
Dim value As DataSet
value = Characteristic.GetByFilter(charName, charDesc, categoryId, type, severityCd)
public static DataSet GetByFilter(
string charName,
string charDesc,
Nullable<int> categoryId,
Nullable<int> type,
Nullable<int> severityCd
)
Parameters
- charName
- Optional filter parameter. Holds the name of the characteristic.
- charDesc
- Optional filter parameter. Holds the description of the characteristic.
- categoryId
- Optional filter parameter. Holds the ID of the category.
- type
- Optional filter parameter. Holds the type of the characteristic.
- severityCd
- Optional filter parameter. Holds the severity of the characteristic.
Return Value
Returns a DataSet that contains the DataRow of the specified characteristic from the characteristic table. If no matching record for the specified characteristic is found, an empty DataSet is returned.