General information
Title:
Ilist Implementation
I am translating a code from C# to VB, is a class that implements the IList interface, but i have a problem with the Item property.
I must implement the Item property of the Ilist interface
C#
object IList.this[int index]
VB
Property Item(index As Integer) As Object Implements System.Collection.Ilist.Item
This is the code
but class also has this property
C#
public SomeItem this[int index]
Code produced bye a translator
VB
Default Public Property Item(index As Integer) As SomeItem
but this is a sintax error in VB, because this two properties only differ from its return value.
How can i solve this?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only