I have a c# statement:
public Vehicle this[int indexer]
{
Get
{
do stuff
}
}
How can I write this in vb.net? exactly what does that C# statement do? does it override the standard property "this" reference?
kind regards
Henrik
Printable View
I have a c# statement:
public Vehicle this[int indexer]
{
Get
{
do stuff
}
}
How can I write this in vb.net? exactly what does that C# statement do? does it override the standard property "this" reference?
kind regards
Henrik
i guess
i'm quiet not sure. it's something like an indexer property. used asVB Code:
Public ReadOnly Property Vehicle(ByVal indexer As Integer) Get 'do stuff End Get End Property
receives the third index...Code:Something=Vehicle(2)