Class ContactsList
Definition
- Namespace:
- Tizen.Pims.Contacts
- Assembly:
- Tizen.Pims.Contacts.dll
- API Level:
- 4
A list of records with the same type.
public class ContactsList : IDisposable
- Inheritance
-
ContactsList
- Implements
Constructors
View SourceContactsList()
Creates a contacts record list.
Declaration
public ContactsList()
Exceptions
Type | Condition |
---|---|
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
View SourceCount
The count of the contact entity.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 | The count of the contact entity. |
API Level: 4
Methods
View SourceAddRecord(ContactsRecord)
Adds a record to the contacts list.
Declaration
public void AddRecord(ContactsRecord record)
Parameters
Type | Name | Description |
---|---|---|
ContactsRecord | record | The record to add. |
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/contact
View SourceDispose()
Releases all the resources used by the ContactsList. It should be called after it has finished using the object.
Declaration
public void Dispose()
API Level: 4
View SourceDispose(Boolean)
Releases all the resources used by the ContactsList.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | Disposing by the user. |
API Level: 4
View SourceFinalize()
The destructor.
Declaration
protected void Finalize()
API Level: 4
View SourceGetCurrentRecord()
Retrieves a record from the contacts list.
Declaration
public ContactsRecord GetCurrentRecord()
Returns
Type | Description |
---|---|
ContactsRecord | The contacts record. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
View SourceMoveFirst()
Moves a contacts list to the first position.
Declaration
public void MoveFirst()
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
View SourceMoveLast()
Moves a contacts list to the last position.
Declaration
public void MoveLast()
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
View SourceMoveNext()
Moves a contacts list to the next position.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
Boolean | When the cursor is already at the last position, it returns false. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
View SourceMovePrevious()
Moves a contacts list to the previous position.
Declaration
public bool MovePrevious()
Returns
Type | Description |
---|---|
Boolean | When the cursor is already at the first position, it returns false. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/contact
View SourceRemoveRecord(ContactsRecord)
Removes a record from the contacts list.
Declaration
public void RemoveRecord(ContactsRecord record)
Parameters
Type | Name | Description |
---|---|---|
ContactsRecord | record | The record to remove. |
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. |