cancel
Showing results for 
Search instead for 
Did you mean: 

How to empty a Value Node?

Former Member
0 Kudos

I want to clear all elements inside a value node.. What's the best way to do it?

Accepted Solutions (1)

Accepted Solutions (1)

former_member185086
Active Contributor
0 Kudos

Hi

User Standred mehtod provided by framework

wdContext.nodeChildUrlNode().invalidate()

Will clear all the instance contain by Value node

Best Regards

Satish Kumar

Edited by: satish jhariya on Mar 4, 2009 9:56 AM

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

use this code

IPrivate<NodeName>.IContext<elementname> abdc= wdcontext.node<NodeName>.createelement();

wdcontext.node<nodename>.removeelement(adbc);

murali

Former Member
0 Kudos

use invalidate method on the node