Class QueryArguments

    Definition

    Namespace:
    Tizen.Content.MediaContent
    Assembly:
    Tizen.Content.MediaContent.dll

    The Base class for query arguments.

    public class QueryArguments
    Inheritance
    object
    QueryArguments
    Derived
    CountArguments
    CountArguments
    SelectArguments
    SelectArguments
    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
    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

    value is a zero-length string, contains only white space.

    See Also
    MediaInfoColumns
    AlbumColumns
    FolderColumns
    PlaylistColumns
    TagColumns
    BookmarkColumns
    FaceInfoColumns
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX