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.
Returns an object that represents the current selection of the document.
![]() ![]() |
Syntax
HRESULT retVal = object.getSelection(ppIHTMLSelection);
Parameters
ppIHTMLSelection [out, retval]
Type: IHTMLSelectionAn HTMLSelection object that represents the current selection, if any.
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 6.6.1
.png)
.png)