Show / Hide Table of Contents

    Class QueryArguments

    The Base class for query arguments.

    Inheritance
    Object
    QueryArguments
    CountArguments
    SelectArguments
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Tizen.Content.MediaContent
    Assembly: Tizen.Content.MediaContent.dll
    Syntax
    public class QueryArguments
    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

    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.
    API Version
    4
    Exceptions
    Type Condition
    ArgumentException

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

    See Also
    MediaInfoColumns
    AlbumColumns
    FolderColumns
    PlaylistColumns
    TagColumns
    BookmarkColumns
    FaceInfoColumns

    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
    [Obsolete("Please do not use! this will be deprecated in level 6")]
    public string StorageId { get; set; }
    Property Value
    Type Description
    String

    The storage ID to restrict storage to search, or null for all storages.

    API Version
    4
    Exceptions
    Type Condition
    ArgumentException

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

    Back to top Copyright © 2016-2018 Samsung
    Generated by DocFX