Hi
In follow up to my previous posting it would seem that you don't need
to implement ITypedList. In fact a Managed C++ class that implements
IList, ICollection and IEnumerable doesn't need to do anything to bind
to a datagrid. The exception was caused by the mechanism that a
datagrid uses to bind to the collection.
Under the covers it would seem that the datagrid doesn't extract data
by using the Enumerator and walking the collection, but by using the
indexer e.g something line
for(int i=0; i < myCollection.Count; i++
{
datagrid[j]=myCollection[i];
}
because I was using the collection to represent an OO extent, I'd
defined the indexer (using
[System::Reflection:

efaultMemberAttribute]) to map to the extend
index for fast look ups. Hence the datagrid couldn't bind because it
would start doing the for loop and fail on i=0;
I've posted this in case it may help someone in the future.
regards
Rachel