編輯

共用方式為


HtmlElement.All Property

Definition

Gets an HtmlElementCollection of all elements underneath the current element.

public:
 property System::Windows::Forms::HtmlElementCollection ^ All { System::Windows::Forms::HtmlElementCollection ^ get(); };
public System.Windows.Forms.HtmlElementCollection All { get; }
member this.All : System.Windows.Forms.HtmlElementCollection
Public ReadOnly Property All As HtmlElementCollection

Property Value

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.

Remarks

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.

Applies to

See also