This is allowed:
Public Property Text() As String
Whereas for a read-only property why aren\'t I allowed an equivalent?
Pu
It is now supported in VB14 (Visual Studio 2015 and later). Auto-implemented properties can be initialized with initialization expressions:
Public ReadOnly Property Text1 As String = "SomeText"
Public ReadOnly Property Text2 As String = InitializeMyText()
or in the constructor:
Public ReadOnly Property Text As String
Public Sub New(text As String)
Me.Text = text
End Sub
Details: