VCalendar ParserParse From File Method
This static method can be used to load property values into a new instance of a calendar from a file.
The filename can be a disk file or a URL.
Definition
Namespace: EWSoftware.PDI.Parser
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
A new calendar as created from the file
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public static VCalendar? ParseFromFile(
string filename
)VB
Public Shared Function ParseFromFile (
filename As String
) As VCalendarC++
public:
static VCalendar^ ParseFromFile(
String^ filename
)F#
static member ParseFromFile :
filename : string -> VCalendar Parameters
- filename String
- A path or URL to a file containing or more calendar objects
Return Value
VCalendarA new calendar as created from the file
Example
C#
VCalendar vCal1 = VCalendarParser.ParseFromFile(@"C:\MySchedule.ics");
VCalendar vCal2 = VCalendarParser.ParseFromFile(
"http://www.mydomain.com/Calendars/MySchedule.ics");VB
Dim vCal1 As VCalendar = VCalendarParser.ParseFromFile("C:\MySchedule.ics")
Dim vCal2 As VCalendar = VCalendarParser.ParseFromFile(
"http://www.mydomain.com/Calendars/MySchedule.ics")C++
No code example is currently available or this language may not be supported.F#
No code example is currently available or this language may not be supported.