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
-
CalendarFilter
- Implements
Constructors
View SourceCalendarFilter(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 SourceCalendarFilter(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 SourceCalendarFilter(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 SourceCalendarFilter(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 SourceCalendarFilter(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 SourceAddCondition(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 SourceAddCondition(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 SourceAddCondition(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 SourceAddCondition(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 SourceAddCondition(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 SourceAddFilter(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 SourceDispose()
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 SourceDispose(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 SourceFinalize()
Destroys the filter.
Declaration
protected void Finalize()