HtmlWindowCollection::Item Property (Int32)
.NET Framework (current version)
Retrieves a frame window by supplying the frame's position in the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- index
-
Type:
System::Int32
The position of the HtmlWindow within the collection.
Property Value
Type: System.Windows.Forms::HtmlWindow^The HtmlWindow corresponding to the requested frame.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is greater than the number of items in the collection. |
HtmlWindowCollection is a zero-based collection. If there are N elements in the collection, valid arguments to Item are the integers from 0 to N-1.
Windows are not laid out in HtmlWindowCollection in any predetermined order.
.NET Framework
Available since 2.0
Available since 2.0
Show: