Zennolab.CommandCenter
Remove Method
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > HtmlElementCollection Class : Remove Method
index

Type: System.Int32

The zero-based index of the html element to remove.

Removes the element at the specified index of the HtmlElementCollection.

Syntax

C# 
public void Remove( 
   int index
)

Parameters

index

Type: System.Int32

The zero-based index of the html element to remove.

Example

The following code shows the Remove method call
C#Copy Code
HtmlElementCollection heCol = tab.FindElementsByTags("input:checkbox");        
 
heCol.Remove(heCol.Count-1);
PHPCopy Code
$heCol = $tab->FindElementsByTags("input:checkbox");        
 
$heCol->Remove($heCol->Count-1);

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.