Removing a subitem from a collection

Is it possible to remove a sub item in a collection. The remove method removes a whole member from a Collection object but if these members contain sub item can they be removed or changed to blank?

AstonVillaAsked:
Who is Participating?
 
Z_BeeblebroxConnect With a Mentor Commented:
What do you mean by subitems? Do you have a collection of collections? If so, the following will work:

col.Item(3).Remove(4)

That removes the 4th "subitem" from the 3rd item.

Zaphod.
0
 
diarmaidCommented:
P I N G!
0
 
COAtheGREATCommented:
It is not posiible with collection object. So for that task you should develop the collection class there you can write metods to do it for you.
0
 
DanRollinsCommented:
Hi AstonVilla,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept Z_Beeblebrox's comment(s) as an answer.

AstonVilla, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.