共用方式為


childNodes property

Gets a collection of HTML Elements and TextNode objects that are direct descendants of the specified object.

Syntax

HRESULT value = object.get_childNodes(IDispatch** p);

Property values

Type: IDispatch

Address of a pointer to a variable of type IDispatch interface that receives the collection of children.