Partilhar via


xInfo.clear Method

Definition

Overloads

clear()

Deletes lines from the Infolog buffer.

clear(Int32)

clear()

Deletes lines from the Infolog buffer.

public:
 virtual void clear();
public virtual void clear ();
abstract member clear : unit -> unit
override this.clear : unit -> unit
Public Overridable Sub clear ()

Remarks

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

Use this pattern to clear the Infolog cache:

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

Applies to

clear(Int32)

public:
 virtual void clear(int _linesLeft);
public virtual void clear (int _linesLeft);
abstract member clear : int -> unit
override this.clear : int -> unit
Public Overridable Sub clear (_linesLeft As Integer)

Parameters

_linesLeft
Int32

Number of lines to leave in the buffer; optional.

Applies to