ZennoLab Assemblies Documentation
Tables Property
Example 
Get a collection of tables that can be accessed name.
Syntax
ITables Tables {get;}

Property Value

Type: ZennoLab.InterfacesLibrary.ProjectModel.Collections.ITables

A collection of tables.

Example
The following example uses Tables property of "project" for getting table by name.
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// add a new row
table.AddRow("simple text");
 
// get table by name "AnotherTable" and get row count
int count = project.Tables["AnoterTable"].RowCount;
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// add a new row
$table->AddRow("simple text");
 
// get table by name "AnotherTable" and get row count
$count = $project->Tables->get_Item("AnoterTable")->RowCount;
Requirements

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

See Also

Reference

IZennoPosterProjectModel Interface
IZennoPosterProjectModel Members
ITables Interface
IZennoTable Interface

Send Feedback