Class CalendarList
Definition
- Assembly:
- Tizen.Pims.Calendar.dll
A list of records with the same type.
C#Copypublic class CalendarList : IDisposable
- Inheritance
-
objectCalendarList
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic CalendarList()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
System.OutOfMemoryException | Thrown when failed due to out of memory. |
Properties
Declaration
C#Copypublic int Count { get; }
Property Value
Type | Description |
---|---|
int | The count of the calendar entity. |
Methods
Declaration
C#Copypublic 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
C#Copypublic void Dispose()
Declaration
C#Copyprotected 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. |
Declaration
C#Copyprotected ~CalendarList()
Declaration
C#Copypublic CalendarRecord GetCurrentRecord()
Returns
Type | Description |
---|---|
CalendarRecord | The calendar record. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
Declaration
C#Copypublic void MoveFirst()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
Declaration
C#Copypublic void MoveLast()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the feature is not supported. |
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic 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. |