XmlWriter.Create...
I just noticed today in trying to fix a problem that with .NET 2.0 we have the XmlWriter.Create method that is the new and preferred mechanism for creating XmlWriter instances.
There is also a new XmlWriterSettings class to specify which features to implement in the created XmlWriter. So what does this mean; basically, use this instead of creating the likes of an XmlTextWriter directly.
Would have been nice if there was a compiler warning/info message to say that there is a new and improved method – or do Microsoft expect us to re-read the entire MSDN documentation with each release to ensure we are up to speed with all the little subtle changes?
0 Comments:
Post a Comment
<< Home