Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ilist Implementation
Message
From
06/10/2003 11:13:37
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Ilist Implementation
Miscellaneous
Thread ID:
00835387
Message ID:
00835387
Views:
38
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
Map
View

Click here to load this message in the networking platform