GetByKey(String,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified line attribute record from the Line_Attr table.
This overload of the method uses a line name and an attribute description to identify the attribute.
'Declaration
Public Overloads Shared Function GetByKey( _
ByVal lineName As String, _
ByVal attrDescription As String _
) As DataSet
public static DataSet GetByKey(
string lineName,
string attrDescription
)
Parameters
- lineName
- Required. Holds the name of the line for which an attribute is being retrieved.
- attrDescription
- Required. Holds the description of the attribute to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified line attribute in the Line_Attr table. If no matching record for the specified line attribute is found, an empty DataSet is returned.