|
-
Oct 23rd, 2002, 03:19 AM
#1
Thread Starter
Lively Member
delete multiple TreeNodes
I have an ArrayList containing several TreeNodes which I want to delete. I thought all I have to do is the following:
For Each DummyNode In alNodes
Me.treDokumente.Nodes.Remove(DummyNode)
Next
But then I get an error ("Collection modified... won't work")
But even after doing alNodes.Reverse, the effect is the same. Any ideas how I can realize it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|