ZennoLab Assemblies Documentation
DeleteRow(IEnumerable<Int32>) Method
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoTable Interface > DeleteRow Method : DeleteRow(IEnumerable<Int32>) Method
rows

Type: IEnumerable<int>

The specified indices of rows.

Glossary Item Box

Removes the rows at the specified indices from collection of the IZennoTable object.

Syntax

C# 
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.
C#Copy Code
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// remove rows 
table.DeleteRow(new [] { 0, 1, 5, 7 });
PHPCopy Code
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// remove rows 
$table->DeleteRow(array(0, 1, 5, 7));

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.