VCalendarParserParseFromFile 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.
Namespace: EWSoftware.PDI.ParserAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static VCalendar ParseFromFile(
string filename
)
Public Shared Function ParseFromFile (
filename As String
) As VCalendar
public:
static VCalendar^ ParseFromFile(
String^ filename
)
static member ParseFromFile :
filename : string -> VCalendar
- filename String
- A path or URL to a file containing or more calendar objects
VCalendarA new calendar as created from the file
VCalendar vCal1 = VCalendarParser.ParseFromFile(@"C:\MySchedule.ics");
VCalendar vCal2 = VCalendarParser.ParseFromFile(
"http://www.mydomain.com/Calendars/MySchedule.ics");
Dim vCal1 As VCalendar = VCalendarParser.ParseFromFile("C:\MySchedule.ics")
Dim vCal2 As VCalendar = VCalendarParser.ParseFromFile(
"http://www.mydomain.com/Calendars/MySchedule.ics")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.