HtmlElement.All Property

 

Gets an HtmlElementCollection of all elements underneath the current element.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public HtmlElementCollection All { get; }

Property Value

Type: System.Windows.Forms.HtmlElementCollection

A collection of all elements that are direct or indirect children of the current element. If the current element is a TABLE, for example, All will return every TH, TR, and TD element within the table, as well as any other elements, such as DIV and SPAN elements, contained within the cells.

To access only those elements which have the current element as their direct parent, use the Children collection instead.

Elements in this collection will not necessarily be returned in source order.

.NET Framework
Available since 2.0
Return to top
Show: