Diff bw Remove() and RemoveAll()

Posted by Sakthi.Singaravel under VB.NET on 4/6/2012 | Points: 10 | Views : 1097 | Status : [Member] | Replies : 4
Hi,

What is the Difference between Remove() and RemoveAll() methods in XLINQ..?

Regards,
Singaravel M



Responses

Posted by: Priyav on: 4/6/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

Remove() method is used to delete a particular node in XML
RemoveAll() is used to delete all the nodes in XML.

Regards,
Priya

Sakthi.Singaravel, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/6/2012 [Member] Silver | Points: 25

Up
0
Down
Thank you..

can u giv example..?

Regards,
Singaravel M

Sakthi.Singaravel, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/6/2012 [Member] Silver | Points: 25

Up
0
Down
i got answer..

Remove()-> Removes the all child elements
RemoveAll()->Removes the all child elements with attributes..

Is it Correct..?

Regards,
Singaravel M

Sakthi.Singaravel, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Aarlene on: 4/7/2012 [Member] Starter | Points: 25

Up
0
Down
thank you! informative!

Sakthi.Singaravel, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response