Share via


selectNode method

Selects a range node and all of its contents.

 

Syntax

HRESULT retVal = object.selectNode(oNode);

Parameters

  • oNode [in]
    Type: Node

    The node to select.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

InvalidStateError

IHTMLDOMRange::detach has been invoked on the object.

 

Standards information