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:
© 2014 Microsoft