Class QueryArguments

Definition

Namespace:
Tizen.Content.MediaContent
Assembly:
Tizen.Content.MediaContent.dll
API Level:
4

The Base class for query arguments.

C#
Copy
public class QueryArguments : object
Inheritance
QueryArguments
Derived
Remarks

A filter is required for filtering information associated with Album, Folder, Tag, Bookmark, Playlist, and MediaInfo on the basis of details like limit, order, and condition.

Properties

View Source

FilterExpression

Gets or sets the filtering expression that is applied.

Declaration
C#
Copy
public string FilterExpression { get; set; }
Property Value
Type Description
String

A string that represents a filtering expression applied when data is retrieved.

Remarks

Expressions for the filter can be one of the following forms:

  • column = value
  • column > value
  • column >= value
  • column < value
  • column <= value
  • value = column
  • value >= column
  • value < column
  • value <= column
  • column IN (value)
  • column IN(value-list)
  • column NOT IN(value)
  • column NOT IN(value-list)
  • column LIKE value
  • expression COLLATE NOCASE
  • expression COLLATE RTRIM
  • expression COLLATE LOCALIZED
  • expression1 AND expression2 OR expression3 ...
    Note that if you want to set quotation (" ' " or " " ") as value of LIKE operator, you should use two times. (" '' " or " "" "). And the optional ESCAPE clause is supported. Both percent symbol("%") and underscore symbol("_") are used in the LIKE pattern. If these characters are used as values of the LIKE operation, then the expression following the ESCAPE clause of sqlite will be ignored.

    For example, column LIKE ('#%') ESCAPE ('#') - "#" is an escape character, it will be ignored.
API Level: 4

Extension Methods