selectNodeContents method
Selects the contents within a node in a range.
![]() ![]() |
Syntax
HRESULT retVal = object.selectNodeContents(oNode);
Parameters
- oNode [in]
-
Type: Node
A node in the document hierarchy.
Return value
Type: HRESULT
This method can return one of these values.
| Return code | Description |
|---|---|
|
The operation completed successfully. |
|
IHTMLDOMRange::detach has been invoked on the object. |
Standards information
Show:

