ZennoLab Assemblies Documentation
GetItem Method (IZennoTable)
Example 

Type: System.String

The filter of range.

Type: System.Boolean

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

Gets the first row from the table satisfies the filter.
Syntax

Parameters

filter

Type: System.String

The filter of range.

removeItem

Type: System.Boolean

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

Return Value

Type: System.String

The requried row of table, or null, if the row is not found.

Example
The following code example demonstrates the GetItem method.
// gets random row from several ranges of the table
return string.Join(";", project.Tables["Table 1"].GetItem("random1(1,12-15,35-end)"));
// gets random item from several ranges of the list
return String::Join(";", $project->Tables->get_Item("Table 1")->GetItem("random1(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