Okada Okada

Okada Okada

  • NA
  • 19
  • 2.9k

How to delete node and sub node in C# in XLM file ?

Jul 2 2018 7:21 AM
How to delete node and sub node in C# in XLM file ?
 
My XML file contents is this,
 
<userSettings>
<Calc.Properties.Settings>
<setting name="WindowTop" serializeAs="String">
<value>240</value>
</setting>
<setting name="TableBackground" serializeAs="String">
<value>Transparent</value>
</setting>
<setting name="TableForeground" serializeAs="String">
<value>Opaque</value>
</setting>
</Calc.Properties.Settings>
</userSettings>
 
and I want to delete
 
<setting name="TableForeground" serializeAs="String">
<value>Opaque</value>
</setting>
 
from it. How to do it ?

Answers (3)