Searches a document view for a string and highlights it if it is found.
Original signature is '- (BOOL)searchFor:(NSString *)string direction:(BOOL)forward caseSensitive:(BOOL)caseFlag wrap:(BOOL)wrapFlag'
Available in Mac OS X v10.2 with Safari 1.0 and later.

Declaration Syntax
public:
virtual bool SearchForDirectionCaseSensitiveWrap(
NSString^ string,
bool forward,
bool caseFlag,
bool wrapFlag
)

Parameters
- string (NSString)
- The search string.
- forward (Boolean)
- If YES the direction of the search is forward; if NO, the direction is backward.
- caseFlag (Boolean)
- If YES if the search is case sensitive; otherwise, it is not.
- wrapFlag (Boolean)
- If YES if the search wraps; otherwise, it does not.

Return Value
YES if the search is successful; otherwise, NO.

Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)
Assembly:
Monobjc.WebKit (Module: Monobjc.WebKit)