ZennoLab Assemblies Documentation
Tables Property
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoPosterProjectModel Interface : Tables Property

Glossary Item Box

Get a collection of tables that can be accessed name.

Syntax

C# 
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.
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;
PHPCopy 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

© 2013 All Rights Reserved.