Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds a Range to the current selection.
![]() ![]() |
Syntax
HRESULT retVal = object.addRange(oRange);
Parameters
oRange [in]
Type: IDispatchRange to add.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 7.6.1
Remarks
Windows Internet Explorer 9 does not currently support multiple or disjointed selections in standards mode. If IHTMLSelection::addRange is applied to a selection that already contains a Range, the new Range is not added.
.png)
.png)