Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the end of the range to a point before a specific node.
![]() ![]() |
Syntax
HRESULT retVal = object.setEndBefore(oNode);
Parameters
oNode [in]
Type: NodeA node in the document hierarchy.
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. |