StringCompareOperator Enumeration |
Definition of how search string is compared to
stored string data.
Some values are shared by other compare operator enums. For example, CompareOperator and NumberCompareOperator.
Make sure index numbers are mapped correctly for each enum. This is to make it possible to convert values between related enums.
Namespace: ArtDatabanken.DataAssembly: ArtDatabanken (in ArtDatabanken.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public enum StringCompareOperator
Public Enumeration StringCompareOperator
public enum class StringCompareOperator
type StringCompareOperator
Members
| Member name | Value | Description |
---|
| BeginsWith | 0 |
Search for strings that begins with the specified
search string. Wild chard is added to the search
string (at the end) before the search begins.
ex. like searchtext%
|
| Contains | 1 |
Search for strings that contains the specified
search string. Wild chards are added to the search string
(at the beginning and end) before the search begins.
ex. like %searchtext%
|
| EndsWith | 2 |
Search for strings that ends with the specified
search string. Wild chard is added to the search
string (at the beginning) before the search begins.
ex. like %searchtext
|
| Equal | 3 |
Search for strings that are equal to the specified
search string.
ex. = searchtext
|
| Like | 10 |
Search for strings that similar to the specified search string.
No wild chards are added to the search string.
ex. like searchtext
|
| NotEqual | 11 |
Search for strings that are not equal to the specified
search string.
ex. <> searchtext
|
See Also