using XmlElement and the set property for InnerXml

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

I know the get property for the XmlElement.InnerXml but how does the set
property work.

I mean if you have several child elements and you use the set how will this
affect all the child elements ?

//Tony
 
It will replace them. Specifically:

this.RemoveAllChildren();
new XmlLoader().LoadInnerXmlElement(this, value);

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top