Class ContactsList
Definition
- Assembly:
- Tizen.Pims.Contacts.dll
A list of records with the same type.
C#
Copy
public class ContactsList : IDisposable
- Inheritance
-
objectContacts
List
- Implements
-
System.
IDisposable
Constructors
Declaration
C#
Copy
public ContactsList()
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the feature is not supported. |
System. |
Thrown when failed due to out of memory. |
Properties
Declaration
C#
Copy
public int Count { get; }
Property Value
Type | Description |
---|---|
int | The count of the contact entity. |
Methods
Declaration
C#
Copy
public void AddRecord(ContactsRecord record)
Parameters
Type | Name | Description |
---|---|---|
Contacts |
record | The record to add. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the feature is not supported. |
System. |
Thrown when one of the arguments provided to a method is not valid. |
Dispose()
Releases all the resources used by the ContactsList. It should be called after it has finished using the object.
Declaration
C#
Copy
public void Dispose()
Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | Disposing by the user. |
Declaration
C#
Copy
protected ~ContactsList()
Declaration
C#
Copy
public ContactsRecord GetCurrentRecord()
Returns
Type | Description |
---|---|
Contacts |
The contacts record. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the feature is not supported. |
Declaration
C#
Copy
public void MoveFirst()
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the feature is not supported. |
Declaration
C#
Copy
public void MoveLast()
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the feature is not supported. |
Declaration
C#
Copy
public bool MoveNext()
Returns
Type | Description |
---|---|
bool | When the cursor is already at the last position, it returns false. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the feature is not supported. |
Declaration
C#
Copy
public bool MovePrevious()
Returns
Type | Description |
---|---|
bool | When the cursor is already at the first position, it returns false. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the feature is not supported. |
Declaration
C#
Copy
public void RemoveRecord(ContactsRecord record)
Parameters
Type | Name | Description |
---|---|---|
Contacts |
record | The record to remove. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the feature is not supported. |
System. |
Thrown when one of the arguments provided to a method is not valid. |