語言

HtmlElement.All 屬性

定義

在當前元素下方取得所有 HtmlElementCollection 元素之一。

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

屬性值

一組包含所有與當前元素直接或間接子節點的元素。 如果當前元素是 TABLE,例如, All 會回傳表格中所有 TH、 TR和 TD 元素,以及格子中包含的其他元素,如 DIV 和 SPAN 元素。

備註

若要僅存取以當前元素為直接父元素的元素,請改用集合。Children

本集合中的元素不一定會依原始碼順序回傳。

適用於

另請參閱