Bean Software Search Control Documentation   
 
 
     




UseBackslash Property


Description:
If TypeOfSearch property is set to enuTypeOfSearch.Expression, some characters (e.g. double quote, +, -, |) are used to build boolean expression and control will not search for them. If UseBackslash property is set to true, then you can make escape sequence and search for this characters.

[Visual Basic .NET]

Public Property UseBackslash() As Boolean


[C#]

public Boolean UseBackslash() {get; set;}

Data type: Boolean

Default value: False

Example: Suppose UseSpecialCharacters property is set to True. If we want to search database for string c++, then "+" characters will be understand as boolean operator AND. To perform correct searching, you can use it with backslash: c\+\+, or set UseSpecialCharacters property to False.