Get a collection of tables that can be accessed name.
Syntax
Example
The following example uses
Tables property of "project" for getting table by name.
| C# | Copy Code |
|---|
// 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; |
| PHP | Copy Code |
|---|
// 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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
See Also