What is Indexer Property in vb.net
Printable View
What is Indexer Property in vb.net
There is no indexer in VB.NET. That's a C# term. The VB.NET equivalent is the default property. The default property is usually, although not always, named "Item". For instance, the ArrayList.Item property, which is the indexer in C#, can be accessed like this:or, as in C#, like this:vb.net Code:
myObject = myArrayList.Item(index)vb.net Code:
myObject = myArrayList(index)