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,则返回表中的每个THTR元素和TD元素以及单元格中包含的任何其他元素(如DIVSPAN元素)。

注解

若要仅访问具有当前元素作为其直接父元素的元素,请改用 Children 集合。

此集合中的元素不一定按源顺序返回。

适用于

另请参阅