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
?
La solution
Autres conseils
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow