G
Guest
This is the first time I am implementing strongly typed collections. And in
order to do this I overloaded the IList functions to implement them ( an
explicit interface implementation of IList). All is fine till the point where
i want to strongly type the Item property. This is the error it gives me:
CataObject\dUserTypeCollection.vb(81): 'Public Default Property Item(index
As Integer) As Object' and 'Public Default Property Item(index As Integer) As
dUserType' cannot overload each other because they differ only by return
types.
In my usertypecollection class i am implementing the following:
System.ComponentModel.IListSource, IList, IEnumerable
order to do this I overloaded the IList functions to implement them ( an
explicit interface implementation of IList). All is fine till the point where
i want to strongly type the Item property. This is the error it gives me:
CataObject\dUserTypeCollection.vb(81): 'Public Default Property Item(index
As Integer) As Object' and 'Public Default Property Item(index As Integer) As
dUserType' cannot overload each other because they differ only by return
types.
In my usertypecollection class i am implementing the following:
System.ComponentModel.IListSource, IList, IEnumerable