Class CalendarVcalendar

Definition

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

A class for parsing and composing the vCalendar.

C#
Copy
public static class CalendarVcalendar : object
Inheritance
CalendarVcalendar
Remarks

It's based on the vCalendar v2.0 specification.

Methods

View Source

Compose(CalendarList)

Retrieves a vCalendar stream from a calendar list.

Declaration
C#
Copy
public static string Compose(CalendarList list)
Parameters
Type Name Description
CalendarList list

The calendar list.

Returns
Type Description
String

The composed stream.

API Level: 4
View Source

Parse(String)

Retrieves all the calendars from a vCalendar stream.

Declaration
C#
Copy
public static CalendarList Parse(string stream)
Parameters
Type Name Description
String stream

The vCalendar stream.

Returns
Type Description
CalendarList

The record list.

API Level: 4
View Source

ParseForEach(String, ParseCallback)

Parses the vCalendar file with ForEach.

Declaration
C#
Copy
public static void ParseForEach(string path, ParseCallback callback)
Parameters
Type Name Description
String path

The file path of the vCalendar stream file.

ParseCallback callback

The callback function to invoke.

API Level: 4