VB.NET does not have such automatic properties as C # 3.0. In VB, the equivalent would be:
Private _Foo As SomeType
Public Property Foo() As SomeType
Get
Return _Foo
End Get
Private Set(ByVal value As SomeType)
_Foo = value
End Set
End Property
source
share