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; |
| PHP | Copy Code |
|---|
$heCol = $tab->FindElementsByTags("input:checkbox");
$count = $heCol->Count; |
Remarks
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also