Class CalendarList

Definition

Namespace:
Tizen.Pims.Calendar
Assembly:
Tizen.Pims.Calendar.dll
API Level:
4

A list of records with the same type.

C#
Copy
public class CalendarList : IDisposable
Inheritance
System.Object
CalendarList
Implements
System.IDisposable

Constructors

View Source

CalendarList()

Creates a calendar list.

Declaration
C#
Copy
public CalendarList()
Exceptions
Type Condition
System.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 Source

Count

The count of the calendar entity.

Declaration
C#
Copy
public int Count { get; }
Property Value
Type Description
Int32

The count of the calendar entity.

API Level: 4

Methods

View Source

AddRecord(CalendarRecord)

Adds a record to the calendar list.

Declaration
C#
Copy
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.

API Level: 4
Feature: http://tizen.org/feature/calendar
View Source

Dispose()

Releases all resources used by the CalendarList. It should be called after it has finished using the object.

Declaration
C#
Copy
public void Dispose()
API Level: 4
View Source

Dispose(Boolean)

Disposes off the resources (other than memory) used by the CalendarList.

Declaration
C#
Copy
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 Source

Finalize()

Destroys the CalendarList resource.

Declaration
C#
Copy
protected void Finalize()
View Source

GetCurrentRecord()

Retrieves a record from the calendar list.

Declaration
C#
Copy
public CalendarRecord GetCurrentRecord()
Returns
Type Description
CalendarRecord

The calendar record.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

API Level: 4
Feature: http://tizen.org/feature/calendar
View Source

MoveFirst()

Moves a calendar list to the first position.

Declaration
C#
Copy
public void MoveFirst()
Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

API Level: 4
Feature: http://tizen.org/feature/calendar
View Source

MoveLast()

Moves a calendar list to the last position.

Declaration
C#
Copy
public void MoveLast()
Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

API Level: 4
Feature: http://tizen.org/feature/calendar
View Source

MoveNext()

Moves a calendar list to the next position.

Declaration
C#
Copy
public bool MoveNext()
Returns
Type Description
Boolean

If the cursor is moved to the end, it returns false.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

API Level: 4
Feature: http://tizen.org/feature/calendar
View Source

MovePrevious()

Moves a calendar list to the previous position.

Declaration
C#
Copy
public bool MovePrevious()
Returns
Type Description
Boolean

If the cursor is moved to the end, it returns false.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

API Level: 4
Feature: http://tizen.org/feature/calendar
View Source

RemoveRecord(CalendarRecord)

Removes a record from the calendar list.

Declaration
C#
Copy
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.

API Level: 4
Feature: http://tizen.org/feature/calendar

Implements

System.IDisposable