Use XmlReader.Create(TextReader)
for creating the new instance of XmlReader
convert TextReader to XmlReader
-
23-03-2022 - |
Question
I have a function that gets TextReader
I want to use it as `XmlReader:
private void myFunc(TextReader textReader)
{
XmlReader _xml;
_xml=?
}
Is there a way to convert TextReader
to XmlReader
?
Solution
OTHER TIPS
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow