on 07-25-2006 9:59 PM
Hi Friends,
I am trying to delete the previously added elements in a context,
one way is to access every element in a loop.
is there any other way so that I can clear the contextElement node in one line code?
Thanks
Naveen
Naveen,
Not exactly the whole context, but node (and any subnodes) clean-up is really a one liner:
wdConext.node<NodeName>().invalidate();
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.