xInfo.clear Method

Deletes lines from the Infolog buffer.

Syntax

public void clear([int linesLeft])

Run On

Called

Parameters

  • linesLeft
    Type: int
    Number of lines to leave in the buffer; optional.

Remarks

Do not call this with method with the default value of zero unless another process has not put information into the Infolog.

Examples

Use this pattern to clear the Infolog cache:

int line = Global::infologLine();
try 
{ 
    // 
} 
catch 
{ 
    infolog.clear(line); 
}

See Also

xInfo Class

xInfo.cut Method