-
Array Property in Class
I feel silly, but this is driving my crazy. In a class I have a Array Propery. However, when I try to populate the array in my test code I get the following error. 'Compile Error - Can't Assign to Array. The class code is as follows.
Private oDetails() As BDetail
Public Property Get Details() As BDetail()
Details = oDetails()
End Property
Public Property Let Details(ByRef Value() As BDetail)
oDetails = Value()
End Property
I would really appreciate any help with this. Thanks!