Class ContactsList
Definition
- Namespace:
- Tizen.Pims.Contacts
- Assembly:
- Tizen.Pims.Contacts.dll
- API Level:
- 4
A list of records with the same type.
C#Copypublic class ContactsList : IDisposable
- Inheritance
-
System.ObjectContactsList
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic ContactsList()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
OutOfMemoryException | Thrown when failed due to out of memory. |
API Level: 4
Feature: http://tizen.org/feature/contact
Properties
Declaration
C#Copypublic int Count { get; }
Property Value
Type | Description |
---|---|
Int32 | The count of the contact entity. |
API Level: 4
Methods
Declaration
C#Copypublic void AddRecord(ContactsRecord record)
Parameters
Type | Name | Description |
---|---|---|
ContactsRecord | record | The record to add. |
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 ContactsList. 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 |
---|---|---|
Boolean | disposing | Disposing by the user. |
API Level: 4
Declaration
C#Copyprotected void Finalize()
API Level: 4
Declaration
C#Copypublic ContactsRecord GetCurrentRecord()
Returns
Type | Description |
---|---|
ContactsRecord | The contacts record. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
Declaration
C#Copypublic void MoveFirst()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
Declaration
C#Copypublic void MoveLast()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
Declaration
C#Copypublic bool MoveNext()
Returns
Type | Description |
---|---|
Boolean | When the cursor is already at the last position, it returns false. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
Declaration
C#Copypublic bool MovePrevious()
Returns
Type | Description |
---|---|
Boolean | When the cursor is already at the first position, it returns false. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
Declaration
C#Copypublic void RemoveRecord(ContactsRecord record)
Parameters
Type | Name | Description |
---|---|---|
ContactsRecord | record | The record to remove. |
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. |