MonobjcMonobjc Documented Class Library
SearchForDirectionCaseSensitiveWrap Method (string, directionFlag, caseFlag, wrapFlag)
NamespacesMonobjc.WebKitIWebDocumentSearchingSearchForDirectionCaseSensitiveWrap(NSString, Boolean, Boolean, Boolean)

Searches for a string in a given direction from the current position.

Original signature is '- (BOOL)searchFor:(NSString *)string direction:(BOOL)directionFlag caseSensitive:(BOOL)caseFlag wrap:(BOOL)wrapFlag'

Available in Mac OS X v10.2 with Safari 1.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool SearchForDirectionCaseSensitiveWrap(
	NSString string,
	bool directionFlag,
	bool caseFlag,
	bool wrapFlag
)
Function SearchForDirectionCaseSensitiveWrap ( _
	string As NSString, _
	directionFlag As Boolean, _
	caseFlag As Boolean, _
	wrapFlag As Boolean _
) As Boolean
bool SearchForDirectionCaseSensitiveWrap(
	NSString^ string, 
	bool directionFlag, 
	bool caseFlag, 
	bool wrapFlag
)
Parameters
string (NSString)
The string to search for.
directionFlag (Boolean)
If YES, the search is in the forward direction from the current location; otherwise, the search is in the backward direction.
caseFlag (Boolean)
If YES then the search is case sensitive; otherwise, it is not.
wrapFlag (Boolean)
If YES, the search continues from the end of the document to the current location; otherwise, it stops at the end of the document.
Return Value
YES if the receiver contains string in the specified direction; 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)