xInfo.cut(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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());
}