How to get IFragmentCapableXmlDictionaryWriter example to work?
I've tried getting the example shown for System.Xml.IFragmentCapableXmlDictionaryWriter as shown in link [https://learn.microsoft.com/en-us/dotnet/api/system.xml.ifragmentcapablexmldictionarywriter.writefragment?view=net-7.0#examples
but the fragmentWriter always comes up null, causing the output: "This writer doesn't support fragments". How can I get this example to work?
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
1 deleted comment
Comments have been turned off. Learn more