Jupp, that's where the problem is. Your mnasecurityGroups class isn't a
collection, it only contains a collection member. Your class needs to
inherit IEnumerable, IList and ICollection to work properly as a collection.
Easiest way to do that is by inheriting CollectionBase (if you search for it
in the docs you'll find a howto article).
Take a look at the classes in the System.Collections.Generic namespace too.
Maybe there is some existing collection class that you can use instead of
implementing your own.
/claes
"Matt" <ma******@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Here is the mnasecurityGroups collection class. I think this is where my
problem resides.
Public Class mnasecurityGroups
Private mCol As New Collection