Class QueryArguments
Definition
- Namespace:
- Tizen.Content.MediaContent
- Assembly:
- Tizen.Content.MediaContent.dll
The Base class for query arguments.
public class QueryArguments
- Inheritance
-
objectQueryArguments
- 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 SourceFilterExpression
Gets or sets the filtering expression that is applied.
Declaration
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.
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
See Also
StorageId
Gets or sets the storage ID for the given filter. You can use this property when you want to search items only in the specific storage.
Declaration
public string StorageId { get; set; }
Property Value
Type | Description |
---|---|
string | The storage ID to restrict storage to search, or null for all storages. |
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.
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|