ZennoLab Assemblies Documentation
Count Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElementCollection Class : Count Property

Glossary Item Box

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.

Remarks

The Count property it is the number of elements that are actually 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;

Requirements

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

See Also

© 2012 All Rights Reserved.