Help > Web Development > Object Reference > Object Reference > ISYSDocument > GetLineWithTermBefore Method
<a name="kanchor320"></a>ISYSDocument:GetLineWithTermBefore Method
Returns the previous line that contain the specific search term.

Syntax
[VBScript]
function ISYSDocument.GetLineWithTermBefore(_
  long Term, _ 
  long Line_ 
) as long
[C#]
long ISYSDocument.GetLineWithTermBefore(
  long Term, 
  long Line
);
[ColdFusion/Java]
long IISYSDocument.GetLineWithTermBefore(
  long Term, 
  long Line
) throws ComException;
Parameters
TermThe search term id to find, this can be accessed from the SearchTerms list.
LineThe line number before which to find the next hit

See Also