ZennoLab Assemblies Documentation
Item Property
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > ITables Interface : Item Property
tableName
Type: System.String

The name of table.

Glossary Item Box

Get the table by the specified name.

Syntax

C# 
IZennoTable this[ 
   string tableName
]; {get;}

Parameters

tableName
Type: System.String

The name of table.

Property Value

Type: ZennoLab.InterfacesLibrary.ProjectModel.IZennoTable

The object of IZennoTable describing the table.

Exceptions

ExceptionDescription
KeyNotFoundExceptionThe exception that is thrown when the name specified for accessing a table in a collection does not match any name in the collection.

Remarks

This property uses only for getting necessary table.

Example

The following example uses property "Item" (operator []) to access a table with name "MyTable".
C#Copy Code
// get table
IZennoTable table = project.Tables["MyTable"];
PHPCopy Code
// get table
$table = $project->Tables->get_Item("MyTable");

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.