ESRI.ArcGIS.ADF.Web.UI.WebControls
Search Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.HtmlEditor Namespace > Editor Class : Search Method




text
the text for which to search
forward
true for forward search, false for backward
matchWholeWord
true to match whole word, false otherwise
matchCase
true to match case, false otherwise
Search the document from the current selection, and reset the the selection to the text found, if successful.

Syntax

Visual Basic (Declaration) 
Public Function Search( _
   ByVal text As String, _
   ByVal forward As Boolean, _
   ByVal matchWholeWord As Boolean, _
   ByVal matchCase As Boolean _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Editor
Dim text As String
Dim forward As Boolean
Dim matchWholeWord As Boolean
Dim matchCase As Boolean
Dim value As Boolean
 
value = instance.Search(text, forward, matchWholeWord, matchCase)
C# 
public bool Search( 
   string text,
   bool forward,
   bool matchWholeWord,
   bool matchCase
)

Parameters

text
the text for which to search
forward
true for forward search, false for backward
matchWholeWord
true to match whole word, false otherwise
matchCase
true to match case, false otherwise

See Also

© 2010 All Rights Reserved.