Partager via


GetCaret method

Gets an IHTMLCaret interface that specifies the insertion point in an HTML document.

Syntax

HRESULT retVal = object.GetCaret(ppCaret);

Parameters

  • ppCaret [out]
    Type: IHTMLCaret

    A pointer to a variable that receives an IHTMLCaret interface pointer for the object that represents the insertion point in a document.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.