I have a Stream-object with a serialized Xml-Object.
How do I load an XmlDocument with the data from the
Stream-object?
I have tried the code below but it won't work.
Try 1.
XmlDocument myXmlDoc = new XmlDocument();
myXmlDoc.Load(m yStream);
Try 2.
XmlTextReader myXmlTextReader = new XmlTextReader
(myStream);
XmlDocument myXmlDoc = new XmlDocument();
myXmlDoc.Load(m yXmlTextReader) ;
How do I load an XmlDocument with the data from the
Stream-object?
I have tried the code below but it won't work.
Try 1.
XmlDocument myXmlDoc = new XmlDocument();
myXmlDoc.Load(m yStream);
Try 2.
XmlTextReader myXmlTextReader = new XmlTextReader
(myStream);
XmlDocument myXmlDoc = new XmlDocument();
myXmlDoc.Load(m yXmlTextReader) ;
Comment