Use XmlReader.Create(TextReader)
for creating the new instance of XmlReader
convert TextReader to XmlReader
-
23-03-2022 - |
Pregunta
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
?
Solución
Otros consejos
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow