Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

setStartBefore method

Sets the start point of a range to a point before a specific node.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 2.13Internet Explorer 9

 

Syntax


HRESULT retVal = object.setStartBefore(oNode);

Parameters

oNode [in]

Type: Node

Node in the document hierarchy.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The operation completed successfully.

InvalidStateError

IHTMLDOMRange::detach has been invoked on the object.

 

Standards information

 

 

Community Additions

ADD
Show:
© 2015 Microsoft