VCalendarParserParseFromString(String, VCalendar) Method

This static method can be used to load property values into an existing instance of a calendar from a string.

Definition

Namespace: EWSoftware.PDI.Parser
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static void ParseFromString(
	string calendarText,
	VCalendar calendar
)

Parameters

calendarText  String
A set of calendar properties in a string
calendar  VCalendar
The calendar instance into which the properties will be loaded

Remarks

The properties of the specified calendar will be cleared before the new properties are loaded into it.

Example

C#
VCalendar vCalendar = new VCalendar();
VCalendarParser.ParseFromString(calendarString, vCalendar);

See Also