Get the table by the specified name.
| C# | |
|---|---|
IZennoTable this[ string tableName ]; {get;} | |
Parameters
- tableName
- Type: System.String
The name of table.
Property Value
Type: ZennoLab.InterfacesLibrary.ProjectModel.IZennoTableThe object of IZennoTable describing the table.
| Exception | Description |
|---|---|
| KeyNotFoundException | The exception that is thrown when the name specified for accessing a table in a collection does not match any name in the collection. |
This property uses only for getting necessary table.
The following example uses property "Item" (operator []) to access a table with name "MyTable".
| C# | Copy Code |
|---|---|
// get table IZennoTable table = project.Tables["MyTable"]; | |
| PHP | Copy Code |
|---|---|
// get table $table = $project->Tables->get_Item("MyTable"); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven