Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic XML/binary additional data (Read 1914 times)
smarrocco
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Aug 23rd, 2010
XML/binary additional data
Aug 24th, 2010 at 5:38pm
Print Post  
Is there a method to add additional info to the date file during calendar.saveto() operations that can then be read back with calendar.loadfrom() ?

For example, I'd like my calendars to save/load their start & end dates ranges.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: XML/binary additional data
Reply #1 - Aug 24th, 2010 at 6:06pm
Print Post  
There's nothing built-in. For binary files you could use the SaveToStream(FileStream) method and append additional data to the end of the stream. For XML similarly use SaveToXml(XmlDocument) and add additional elements to the XML DOM.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint