Class CalendarFilter

Definition

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

A filter includes the conditions for the search.

C#
Copy
public class CalendarFilter : IDisposable
Inheritance
CalendarFilter

Constructors

View Source

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

Creates a filter with a condition for a double type.

Declaration
C#
Copy
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.

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
C#
Copy
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.

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
C#
Copy
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.

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
C#
Copy
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.

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
C#
Copy
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.

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
C#
Copy
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.

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
C#
Copy
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.

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
C#
Copy
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.

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
C#
Copy
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.

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
C#
Copy
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.

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

AddFilter(CalendarFilter.LogicalOperator, CalendarFilter)

Adds a child filter to a parent filter.

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

The operator type.

CalendarFilter filter

The child filter.

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
C#
Copy
public void Dispose()
API Level: 4
View Source

Dispose(Boolean)

Dispose.

Declaration
C#
Copy
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
C#
Copy
protected void Finalize()

Extension Methods