|
-
Nov 11th, 2003, 12:32 PM
#1
Thread Starter
New Member
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|