Gets the number of elements actually contained in the
HtmlElementCollection.
Syntax
Remarks
Example
The following code example shows the value of the
Count property.
| C# | Copy Code |
|---|
// find elements by tag
HtmlElementCollection heCol = tab.FindElementsByTags("input:checkbox");
// get count of collection
int count = heCol.Count; |
| PHP | Copy Code |
|---|
// find elements by tag
$heCol = $tab->FindElementsByTags("input:checkbox");
// get count of collection
$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