| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoTable Interface : RowCount Property |
// get table by name "MyTable" IZennoTable table = project.Tables["MyTable"]; // get rows count int rowsCount = table.RowCount; // add row table.AddRow("one:two:three:four"); // get rows count if (table.RowCount != rowsCount) return "Rows count was changed"; return "Rows count wasn't changed";
// get table by name "MyTable" IZennoTable table = project.Tables->get_Item("MyTable"); // get rows count $rowsCount = $table->RowCount; // add row $table->AddRow("one:two:three:four"); // get rows count if ($table->RowCount != $rowsCount) return "Rows count was changed"; return "Rows count wasn't changed";
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.