VB.Net - Syntax



Indexed Properties

This allows more than one indexed property on a type.
This allows property getters and setters to take arguments


Public Property Something(ByVal a As String) As String 
   Get
      Return MyDictionary(v)
   End Get
   Set
      MyDictionary(v) = value
   End Set
End Property


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext