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

selectNodeContents method

Selects the contents within a node in a range.

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

 

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 codeDescription
S_OK

The operation completed successfully.

InvalidStateError

IHTMLDOMRange::detach has been invoked on the object.

 

Standards information

 

 

Community Additions

ADD
Show:
© 2015 Microsoft