Class ContactsFilter
Definition
- Namespace:
- Tizen.Pims.Contacts
- Assembly:
- Tizen.Pims.Contacts.dll
- API Level:
- 4
A filter includes the conditions for the search.
C#Copypublic class ContactsFilter : IDisposable
- Inheritance
-
System.ObjectContactsFilter
- Implements
-
System.IDisposable
Constructors
ContactsFilter(String, UInt32, Boolean)
Creates a filter with a condition for a boolean type property.
Declaration
C#Copypublic ContactsFilter(string viewUri, uint propertyId, bool matchValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | viewUri | The view URI of a filter. |
System.UInt32 | propertyId | The property ID to add a condition. |
System.Boolean | 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/contact
ContactsFilter(String, UInt32, ContactsFilter.IntegerMatchType, Double)
Creates a filter with a condition for a double type property.
Declaration
C#Copypublic ContactsFilter(string viewUri, uint propertyId, ContactsFilter.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. |
ContactsFilter.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/contact
ContactsFilter(String, UInt32, ContactsFilter.IntegerMatchType, Int32)
Creates a filter with a condition for an integer type property.
Declaration
C#Copypublic ContactsFilter(string viewUri, uint propertyId, ContactsFilter.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. |
ContactsFilter.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/contact
ContactsFilter(String, UInt32, ContactsFilter.IntegerMatchType, Int64)
Creates a filter with a condition for a long type property.
Declaration
C#Copypublic ContactsFilter(string viewUri, uint propertyId, ContactsFilter.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. |
ContactsFilter.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/contact
ContactsFilter(String, UInt32, ContactsFilter.StringMatchType, String)
Creates a filter with a condition for a string type property.
Declaration
C#Copypublic ContactsFilter(string viewUri, uint propertyId, ContactsFilter.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. |
ContactsFilter.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/contact
Methods
AddCondition(ContactsFilter.LogicalOperator, UInt32, Boolean)
Adds a condition for a boolean type property.
Declaration
C#Copypublic void AddCondition(ContactsFilter.LogicalOperator logicalOperator, uint propertyId, bool matchValue)
Parameters
Type | Name | Description |
---|---|---|
ContactsFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
System.Boolean | 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/contact
AddCondition(ContactsFilter.LogicalOperator, UInt32, ContactsFilter.IntegerMatchType, Double)
Adds a condition for a double type property.
Declaration
C#Copypublic void AddCondition(ContactsFilter.LogicalOperator logicalOperator, uint propertyId, ContactsFilter.IntegerMatchType matchType, double matchValue)
Parameters
Type | Name | Description |
---|---|---|
ContactsFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
ContactsFilter.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/contact
AddCondition(ContactsFilter.LogicalOperator, UInt32, ContactsFilter.IntegerMatchType, Int32)
Adds a condition for an integer type property.
Declaration
C#Copypublic void AddCondition(ContactsFilter.LogicalOperator logicalOperator, uint propertyId, ContactsFilter.IntegerMatchType matchType, int matchValue)
Parameters
Type | Name | Description |
---|---|---|
ContactsFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
ContactsFilter.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/contact
AddCondition(ContactsFilter.LogicalOperator, UInt32, ContactsFilter.IntegerMatchType, Int64)
Adds a condition for a long type property.
Declaration
C#Copypublic void AddCondition(ContactsFilter.LogicalOperator logicalOperator, uint propertyId, ContactsFilter.IntegerMatchType matchType, long matchValue)
Parameters
Type | Name | Description |
---|---|---|
ContactsFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
ContactsFilter.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/contact
AddCondition(ContactsFilter.LogicalOperator, UInt32, ContactsFilter.StringMatchType, String)
Adds a condition for a string type property.
Declaration
C#Copypublic void AddCondition(ContactsFilter.LogicalOperator logicalOperator, uint propertyId, ContactsFilter.StringMatchType matchType, string matchValue)
Parameters
Type | Name | Description |
---|---|---|
ContactsFilter.LogicalOperator | logicalOperator | The operator type. |
System.UInt32 | propertyId | The property ID to add a condition. |
ContactsFilter.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/contact
AddFilter(ContactsFilter.LogicalOperator, ContactsFilter)
Adds a child filter to a parent filter.
Declaration
C#Copypublic void AddFilter(ContactsFilter.LogicalOperator logicalOperator, ContactsFilter filter)
Parameters
Type | Name | Description |
---|---|---|
ContactsFilter.LogicalOperator | logicalOperator | The operator type. |
ContactsFilter | 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/contact
Dispose()
Releases all the resources used by the ContactsFilter. It should be called after it has finished using the object.
Declaration
C#Copypublic void Dispose()
API Level: 4
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Disposing by the user. |
API Level: 4
Declaration
C#Copyprotected void Finalize()