Show / Hide Table of Contents

    Class CalendarFilter

    Definition

    Namespace:
    Tizen.Pims.Calendar
    Assembly:
    Tizen.Pims.Calendar.dll
    API Level:
    4

    A filter includes the conditions for the search.

    public class CalendarFilter : IDisposable
    Inheritance
    Object
    CalendarFilter
    Implements
    IDisposable

    Constructors

    View Source

    CalendarFilter(String, UInt32, CalendarFilter.IntegerMatchType, Double)

    Creates a filter with a condition for a double type.

    Declaration
    public CalendarFilter(string viewUri, uint propertyId, CalendarFilter.IntegerMatchType matchType, double matchValue)
    Parameters
    Type Name Description
    String viewUri

    The view URI of a filter.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.IntegerMatchType matchType

    The match flag.

    Double matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    OutOfMemoryException

    Thrown when failed due to out of memory.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    CalendarFilter(String, UInt32, CalendarFilter.IntegerMatchType, Int32)

    Creates a filter with a condition for an integer type.

    Declaration
    public CalendarFilter(string viewUri, uint propertyId, CalendarFilter.IntegerMatchType matchType, int matchValue)
    Parameters
    Type Name Description
    String viewUri

    The view URI of a filter.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.IntegerMatchType matchType

    The match flag.

    Int32 matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    OutOfMemoryException

    Thrown when failed due to out of memory.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    CalendarFilter(String, UInt32, CalendarFilter.IntegerMatchType, Int64)

    Creates a filter with a condition for a long type.

    Declaration
    public CalendarFilter(string viewUri, uint propertyId, CalendarFilter.IntegerMatchType matchType, long matchValue)
    Parameters
    Type Name Description
    String viewUri

    The view URI of a filter.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.IntegerMatchType matchType

    The match flag.

    Int64 matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    OutOfMemoryException

    Thrown when failed due to out of memory.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    CalendarFilter(String, UInt32, CalendarFilter.IntegerMatchType, CalendarTime)

    Creates a filter with a condition for the CalendarTime type.

    Declaration
    public CalendarFilter(string viewUri, uint propertyId, CalendarFilter.IntegerMatchType matchType, CalendarTime matchValue)
    Parameters
    Type Name Description
    String viewUri

    The view URI of a filter.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.IntegerMatchType matchType

    The match flag.

    CalendarTime matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    OutOfMemoryException

    Thrown when failed due to out of memory.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    CalendarFilter(String, UInt32, CalendarFilter.StringMatchType, String)

    Creates a filter with a condition for a string type.

    Declaration
    public CalendarFilter(string viewUri, uint propertyId, CalendarFilter.StringMatchType matchType, string matchValue)
    Parameters
    Type Name Description
    String viewUri

    The view URI of a filter.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.StringMatchType matchType

    The match flag.

    String matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    OutOfMemoryException

    Thrown when failed due to out of memory.

    API Level: 4
    Feature: http://tizen.org/feature/calendar

    Methods

    View Source

    AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.IntegerMatchType, Double)

    Adds a condition for the double type.

    Declaration
    public void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.IntegerMatchType matchType, double matchValue)
    Parameters
    Type Name Description
    CalendarFilter.LogicalOperator logicalOperator

    The operator type.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.IntegerMatchType matchType

    The match flag.

    Double matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.IntegerMatchType, Int32)

    Adds a condition for the integer type.

    Declaration
    public void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.IntegerMatchType matchType, int matchValue)
    Parameters
    Type Name Description
    CalendarFilter.LogicalOperator logicalOperator

    The operator type.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.IntegerMatchType matchType

    The match flag.

    Int32 matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.IntegerMatchType, Int64)

    Adds a condition for the long type.

    Declaration
    public void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.IntegerMatchType matchType, long matchValue)
    Parameters
    Type Name Description
    CalendarFilter.LogicalOperator logicalOperator

    The operator type.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.IntegerMatchType matchType

    The match flag.

    Int64 matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.IntegerMatchType, CalendarTime)

    Adds a condition for the CalendarTime type.

    Declaration
    public void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.IntegerMatchType matchType, CalendarTime matchValue)
    Parameters
    Type Name Description
    CalendarFilter.LogicalOperator logicalOperator

    The operator type.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.IntegerMatchType matchType

    The match flag.

    CalendarTime matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.StringMatchType, String)

    Adds a condition for the string type.

    Declaration
    public void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.StringMatchType matchType, string matchValue)
    Parameters
    Type Name Description
    CalendarFilter.LogicalOperator logicalOperator

    The operator type.

    UInt32 propertyId

    The property ID to add a condition.

    CalendarFilter.StringMatchType matchType

    The match flag.

    String matchValue

    The match value.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    AddFilter(CalendarFilter.LogicalOperator, CalendarFilter)

    Adds a child filter to a parent filter.

    Declaration
    public void AddFilter(CalendarFilter.LogicalOperator logicalOperator, CalendarFilter filter)
    Parameters
    Type Name Description
    CalendarFilter.LogicalOperator logicalOperator

    The operator type.

    CalendarFilter filter

    The child filter.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the feature is not supported.

    ArgumentException

    Thrown when one of the arguments provided to a method is not valid.

    API Level: 4
    Feature: http://tizen.org/feature/calendar
    View Source

    Dispose()

    Releases all the resources used by the CalendarFilter. It should be called after having finished using the object.

    Declaration
    public void Dispose()
    API Level: 4
    View Source

    Dispose(Boolean)

    Dispose.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    true to release both managed and unmanaged resources, false to release only unmanaged resources.

    API Level: 4
    View Source

    Finalize()

    Destroys the filter.

    Declaration
    protected void Finalize()

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX