VCalendarParser.ParseFromStream Method
Namespace: EWSoftware.PDI.ParserAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
public static VCalendar? ParseFromStream(
TextReader stream
)
Public Shared Function ParseFromStream (
stream As TextReader
) As VCalendar
public:
static VCalendar^ ParseFromStream(
TextReader^ stream
)
static member ParseFromStream :
stream : TextReader -> VCalendar
- stream TextReader
- An IO stream from which to read the vCards. It is up to you to open the stream
with the appropriate text encoding method if necessary.
VCalendarA new calendar as created from the IO stream
StreamReader sr = new StreamReader(@"C:\Test.ics");
VCalendar vCal1 = VCalendarParser.ParseFromStream(sr);
sr.Close();
Dim sr As New StreamReader("C:\Test.ics")
Dim vCal1 As VCalendar = VCalendarParser.ParseFromStream(sr)
sr.Close()
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.