R
Rodney
I want to create a class that implements IList, but who's Add and
indexer only accepts and returns objects of a specific type (not the
generic 'object').
I believe Microsoft have done this somehow in the
StatusBarPanelCollection, which implement IList but only allows you to
add StatusBarPanels. It seems odd to me that this class implements
IList as the CopyTo method required is appears not to be implemented.
Can someone please shed some light on what's going on here and how i
can achieve my objective?
Aaron
indexer only accepts and returns objects of a specific type (not the
generic 'object').
I believe Microsoft have done this somehow in the
StatusBarPanelCollection, which implement IList but only allows you to
add StatusBarPanels. It seems odd to me that this class implements
IList as the CopyTo method required is appears not to be implemented.
Can someone please shed some light on what's going on here and how i
can achieve my objective?
Aaron