KitchenDraw SDK 2
Show / Hide Table of Contents

Method TryGetRowFromCode

TryGetRowFromCode(string, out Row, Row, bool)

Finds first row of the table with given code.

Declaration
public bool TryGetRowFromCode(string code, out Catalog.Table.Row foundRow, Catalog.Table.Row startRow = null, bool backScan = false)
Parameters
Type Name Description
string code

Code to search.

Catalog.Table.Row foundRow

When this method returns, contains the first matching row, or null if there's no match.

Catalog.Table.Row startRow

A row from which the search begins. You can pass null to search from the beginning of the table.

bool backScan

Indicates whether the search should be performed from the given start row in backward direction (to the top of the table).

Returns
Type Description
bool

true if the matching row was found in the table, false otherwise.

In this article
Back to top Generated by DocFX