Partilhar via


xInfo.cut(Int32, Int32) Method

Definition

Cuts lines from the Infolog buffer.

public:
 virtual cli::array <System::Object ^> ^ cut(int _from, int _to);
public virtual object[] cut (int _from, int _to);
abstract member cut : int * int -> obj[]
override this.cut : int * int -> obj[]
Public Overridable Function cut (_from As Integer, _to As Integer) As Object()

Parameters

_from
Int32

The last line to cut.

_to
Int32

The last line to cut.

Returns

Object[]

A container that contains the Infolog lines between the lines specified by the from and to parameters.

Remarks

The following example cuts the lines in the Infolog from the line specified by the fromLine value, up to the last line.

private void cutInfolog(int fromLine) 
{ 
    infolog.cut(fromLine+1, Global::infologLine()); 
}

Applies to