Class CalendarList
Definition
- Namespace:
- Tizen.Pims.Calendar
- Assembly:
- Tizen.Pims.Calendar.dll
- API Level:
- 4
A list of records with the same type.
public class CalendarList : IDisposable
- Inheritance
-
CalendarList
- Implements
Constructors
View SourceCalendarList()
Creates a calendar list.
Declaration
public CalendarList()
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/calendar
Properties
View SourceCount
The count of the calendar entity.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 | The count of the calendar entity. |
API Level: 4
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 |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/calendar
View SourceDispose()
Releases all resources used by the CalendarList. It should be called after it has finished using the object.
Declaration
public void Dispose()
API Level: 4
View SourceDispose(Boolean)
Disposes off the resources (other than memory) used by the CalendarList.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true to release both managed and unmanaged resources, false to release only unmanaged resources. |
API Level: 4
View SourceFinalize()
Destroys the CalendarList resource.
Declaration
protected void Finalize()
GetCurrentRecord()
Retrieves a record from the calendar list.
Declaration
public CalendarRecord GetCurrentRecord()
Returns
Type | Description |
---|---|
CalendarRecord | The calendar record. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/calendar
View SourceMoveFirst()
Moves a calendar 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/calendar
View SourceMoveLast()
Moves a calendar 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/calendar
View SourceMoveNext()
Moves a calendar list to the next position.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
Boolean | If the cursor is moved to the end, it returns false. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/calendar
View SourceMovePrevious()
Moves a calendar list to the previous position.
Declaration
public bool MovePrevious()
Returns
Type | Description |
---|---|
Boolean | If the cursor is moved to the end, it returns false. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/calendar
View SourceRemoveRecord(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 |
---|---|
NotSupportedException | Thrown when the feature is not supported. |