Zennolab.CommandCenter
Count Property
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > HtmlElementCollection Class : Count Property
Gets the number of elements actually contained in the HtmlElementCollection.

Syntax

C# 
public int Count {get;}

Property Value

Type: System.Int32
The number of elements actually contained in the HtmlElementCollection.

Example

The following code example shows the value of the Count property.
C#Copy Code
HtmlElementCollection heCol = tab.FindElementsByTags("input:checkbox");        
            
int count = heCol.Count;
PHPCopy Code
$heCol = $tab->FindElementsByTags("input:checkbox");        
            
$count = $heCol->Count;

Remarks

The Count property it is the number of elements that are actually in the HtmlElementCollection.

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.