HOW-TO Initialize expanded properties?
Posted: Fri Aug 13, 2010 7:33 pm
Hey, I'm working on a project and i need to initialize an expanded property like this:
Code: Select all
But here is the error
Public Property Words As String() = {"Bla","Bla"}
Get
Return Words
End Get
Set(ByVal value As String())
End Set
End Property
Code: Select all
Help me out of this mess guys, giving rep to the ones who help!Public Property Words As String() = {"Bla","Bla"} <--- You cannot initialize expanded properties