ZennoLab Assemblies Documentation
GetItems Method (IZennoTable)
Example 

Type: System.String

The filter of range.

Type: System.Boolean

true if need to remove the rows, otherwise and default false.

Gets rows from the table satisfies the filter.
Syntax

Parameters

filter

Type: System.String

The filter of range.

removeItems

Type: System.Boolean

true if need to remove the rows, otherwise and default false.

Return Value

Type: System.Collection.Generic.IEnumerable<IEnumerable<String>>

The collection of requried rows.

Example
The following code example demonstrates the GetItems method.
// gets 20 random rows from several ranges of the table
var rows = project.Tables["Table 1"].GetItems("random20(1,12-15,35-end)");
// gets 20 random rows from several ranges of the table
$rows = $project->Tables->get_Item("Table 1")->GetItems("random20(1,12-15,35-end)");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IZennoTable Interface
IZennoTable Members

Send Feedback