Click to return to the Reusing Browser Technology home page    
IHTMLTxtRange::expand Met...     IHTMLTxtRange::get_htmlTe...     IHTMLTxtRange Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLTxtRange::findText Method


Searches for text in the given range. Positions the start and end points of the range to encompass the search string.

Syntax

HRESULT findText(
    BSTR String,
    long count,
    long Flags,
    VARIANT_BOOL *Success 
);

Parameters

String
String that specifies the text to find.
count
Long integer that receives the count.
Flags
Long integer that receives the search flags.
Success
Address of a variable that receives TRUE if the text is found, or FALSE if not.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.