ZennoLab Assemblies Documentation
DeleteRow(IEnumerable<Int32>) Method
Example 

Type: IEnumerable<int>

The specified indices of rows.

Removes the rows at the specified indices from collection of the IZennoTable object.
Syntax
void DeleteRow( 
   IEnumerable<int> rows
)

Parameters

rows

Type: IEnumerable<int>

The specified indices of rows.

Example
The following code using IZennoTable Interface for removing rows.
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// remove rows 
table.DeleteRow(new [] { 0, 1, 5, 7 });
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// remove rows 
$table->DeleteRow(array(0, 1, 5, 7));
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IZennoTable Interface
IZennoTable Members
Overload List
DeleteRow Method
AddRow Method
IZennoTable Interface

Send Feedback