DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.SearchParams Class Reference

Represents search request parameters, that are used for searching text on a web page. More...

Public Member Functions

 SearchParams (string searchText)
 Constructs a new More...
 
 SearchParams (string searchText, bool matchCase, bool forward)
 Constructs a new More...
 

Properties

string SearchText [get]
 Text to search. More...
 
bool Forward [get]
 Direction to search. More...
 
bool MatchCase [get]
 True if search is case-sensitive. More...
 

Detailed Description

Represents search request parameters, that are used for searching text on a web page.

Constructor & Destructor Documentation

DotNetBrowser.SearchParams.SearchParams ( string  searchText)

Constructs a new

SearchParams instance. The default search parameters are set as shown below:

  • forward = true
  • matchCase = false
  • findNext = false
Parameters
searchTexttext to search
DotNetBrowser.SearchParams.SearchParams ( string  searchText,
bool  matchCase,
bool  forward 
)

Constructs a new

SearchParams instance.

Parameters
searchTextthe text to search
matchCasetrue if search is case-sensitive
forwardtrue to search forward, false to search backward
Exceptions
ArgumentExceptionwhen
searchText
is
null
.

Property Documentation

bool DotNetBrowser.SearchParams.Forward
get

Direction to search.

bool DotNetBrowser.SearchParams.MatchCase
get

True if search is case-sensitive.

string DotNetBrowser.SearchParams.SearchText
get

Text to search.