querySelectorAll method
[This documentation is preliminary and is subject to change.]
Retrieves all Document Object Model (DOM) element nodes from descendants of the starting element node that match any selector within the supplied selector strings.
![]() |
Syntax
HRESULT retVal = object.querySelectorAll(v, );
Standards information
- Selectors API Level 1, Section 6.1
Parameters
v [in]
Type: BSTRThe selector string.
pel [out, retval]
Type: IHTMLDOMChildrenCollectionA collection of DOM element nodes. The collection may be empty.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method differs from the querySelector method by returning a collection of DOM element nodes that match the selector string, rather than only the first element found.
See also
Reference
Other Resources
Build date: 1/23/2012
.png)