Class CalendarFilter
Definition
- Namespace:
- Tizen.Pims.Calendar
- Assembly:
- Tizen.Pims.Calendar.dll
- API Level:
- 4
A filter includes the conditions for the search.
C#Copypublic class CalendarFilter : IDisposable
- Inheritance
-
CalendarFilter
- Implements
-
System.IDisposable
Constructors
CalendarFilter(String, UInt32, CalendarFilter.IntegerMatchType, Double)
Creates a filter with a condition for a double type.
Declaration
C#Copypublic CalendarFilter(string viewUri, uint propertyId, CalendarFilter.IntegerMatchType matchType, double matchValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | viewUri | The view URI of a filter. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.IntegerMatchType | matchType | The match flag. |
System.Double | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.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
CalendarFilter(String, UInt32, CalendarFilter.IntegerMatchType, Int32)
Creates a filter with a condition for an integer type.
Declaration
C#Copypublic CalendarFilter(string viewUri, uint propertyId, CalendarFilter.IntegerMatchType matchType, int matchValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | viewUri | The view URI of a filter. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.IntegerMatchType | matchType | The match flag. |
System.Int32 | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.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
CalendarFilter(String, UInt32, CalendarFilter.IntegerMatchType, Int64)
Creates a filter with a condition for a long type.
Declaration
C#Copypublic CalendarFilter(string viewUri, uint propertyId, CalendarFilter.IntegerMatchType matchType, long matchValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | viewUri | The view URI of a filter. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.IntegerMatchType | matchType | The match flag. |
System.Int64 | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.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
CalendarFilter(String, UInt32, CalendarFilter.IntegerMatchType, CalendarTime)
Creates a filter with a condition for the CalendarTime type.
Declaration
C#Copypublic CalendarFilter(string viewUri, uint propertyId, CalendarFilter.IntegerMatchType matchType, CalendarTime matchValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | viewUri | The view URI of a filter. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.IntegerMatchType | matchType | The match flag. |
CalendarTime | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.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
CalendarFilter(String, UInt32, CalendarFilter.StringMatchType, String)
Creates a filter with a condition for a string type.
Declaration
C#Copypublic CalendarFilter(string viewUri, uint propertyId, CalendarFilter.StringMatchType matchType, string matchValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | viewUri | The view URI of a filter. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.StringMatchType | matchType | The match flag. |
System.String | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.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
AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.IntegerMatchType, Double)
Adds a condition for the double type.
Declaration
C#Copypublic void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.IntegerMatchType matchType, double matchValue)
Parameters
Type | Name | Description |
---|---|---|
CalendarFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.IntegerMatchType | matchType | The match flag. |
System.Double | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.ArgumentException | Thrown when one of the arguments provided to a method is not valid. |
API Level: 4
Feature: http://tizen.org/feature/calendar
AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.IntegerMatchType, Int32)
Adds a condition for the integer type.
Declaration
C#Copypublic void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.IntegerMatchType matchType, int matchValue)
Parameters
Type | Name | Description |
---|---|---|
CalendarFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.IntegerMatchType | matchType | The match flag. |
System.Int32 | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.ArgumentException | Thrown when one of the arguments provided to a method is not valid. |
API Level: 4
Feature: http://tizen.org/feature/calendar
AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.IntegerMatchType, Int64)
Adds a condition for the long type.
Declaration
C#Copypublic void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.IntegerMatchType matchType, long matchValue)
Parameters
Type | Name | Description |
---|---|---|
CalendarFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.IntegerMatchType | matchType | The match flag. |
System.Int64 | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.ArgumentException | Thrown when one of the arguments provided to a method is not valid. |
API Level: 4
Feature: http://tizen.org/feature/calendar
AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.IntegerMatchType, CalendarTime)
Adds a condition for the CalendarTime type.
Declaration
C#Copypublic void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.IntegerMatchType matchType, CalendarTime matchValue)
Parameters
Type | Name | Description |
---|---|---|
CalendarFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.IntegerMatchType | matchType | The match flag. |
CalendarTime | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.ArgumentException | Thrown when one of the arguments provided to a method is not valid. |
API Level: 4
Feature: http://tizen.org/feature/calendar
AddCondition(CalendarFilter.LogicalOperator, UInt32, CalendarFilter.StringMatchType, String)
Adds a condition for the string type.
Declaration
C#Copypublic void AddCondition(CalendarFilter.LogicalOperator logicalOperator, uint propertyId, CalendarFilter.StringMatchType matchType, string matchValue)
Parameters
Type | Name | Description |
---|---|---|
CalendarFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
CalendarFilter.StringMatchType | matchType | The match flag. |
System.String | matchValue | The match value. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.ArgumentException | Thrown when one of the arguments provided to a method is not valid. |
API Level: 4
Feature: http://tizen.org/feature/calendar
AddFilter(CalendarFilter.LogicalOperator, CalendarFilter)
Adds a child filter to a parent filter.
Declaration
C#Copypublic 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 |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.ArgumentException | Thrown when one of the arguments provided to a method is not valid. |
API Level: 4
Feature: http://tizen.org/feature/calendar
Dispose()
Releases all the resources used by the CalendarFilter. It should be called after having finished using the object.
Declaration
C#Copypublic void Dispose()
API Level: 4
Declaration
C#Copyprotected 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
Declaration
C#Copyprotected void Finalize()