ZennoLab Assemblies Documentation
Count Property (HtmlElementCollection)
Example 
ZennoLab.CommandCenter Namespace > HtmlElementCollection Class : Count Property
Gets the number of elements actually contained in the HtmlElementCollection.
Syntax
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.
// find elements by tag
HtmlElementCollection heCol = tab.FindElementsByTags("input:checkbox");
 
// get count of collection
int count = heCol.Count;
// find elements by tag
$heCol = $tab->FindElementsByTags("input:checkbox");
 
// get count of collection
$count = $heCol->Count;
Requirements

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

See Also

Reference

HtmlElementCollection Class
HtmlElementCollection Members
Elements Property
GetByNumber Method
IndexOf Method
Insert Method
InsertRange Method
Remove Method