Class CalendarList
Definition
- Assembly:
- Tizen.Pims.Calendar.dll
A list of records with the same type.
public class CalendarList : IDisposable
- Inheritance
-
objectCalendarList
- Implements
-
System.IDisposable
Constructors
View SourceCalendarList()
Creates a calendar list.
Declaration
public CalendarList()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.OutOfMemoryException | Thrown when failed due to out of memory. |
Properties
View SourceCount
The count of the calendar entity.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int | The count of the calendar entity. |
Methods
View SourceAddRecord(CalendarRecord)
Adds a record to the calendar list.
Declaration
public void AddRecord(CalendarRecord record)
Parameters
Type | Name | Description |
---|---|---|
CalendarRecord | record | The record to be added. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
Dispose()
Releases all resources used by the CalendarList. It should be called after it has finished using the object.
Declaration
public void Dispose()
Dispose(bool)
Disposes off the resources (other than memory) used by the CalendarList.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true to release both managed and unmanaged resources, false to release only unmanaged resources. |
~CalendarList()
Destroys the CalendarList resource.
Declaration
protected ~CalendarList()
GetCurrentRecord()
Retrieves a record from the calendar list.
Declaration
public CalendarRecord GetCurrentRecord()
Returns
Type | Description |
---|---|
CalendarRecord | The calendar record. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
MoveFirst()
Moves a calendar list to the first position.
Declaration
public void MoveFirst()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
MoveLast()
Moves a calendar list to the last position.
Declaration
public void MoveLast()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
MoveNext()
Moves a calendar list to the next position.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
bool | If the cursor is moved to the end, it returns false. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
MovePrevious()
Moves a calendar list to the previous position.
Declaration
public bool MovePrevious()
Returns
Type | Description |
---|---|
bool | If the cursor is moved to the end, it returns false. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
RemoveRecord(CalendarRecord)
Removes a record from the calendar list.
Declaration
public void RemoveRecord(CalendarRecord record)
Parameters
Type | Name | Description |
---|---|---|
CalendarRecord | record | The record to be removed. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |