I created an property which accepts arrays in a custom class I wrote. When the property is set by the calling procedure, how can I get the total elements that are in the array at the class level?
Ex:
Public Sub Test()
Dim myarr(0)
myarr(0) = "..."
myarr(1) = "..."
Dim c as new myClass
c.Streets = myarr()
End sub
Public Class MyClass
Public Property Let Streets(Value())
How can this class get the count of elements in the array?
End property
End Class
Ex:
Public Sub Test()
Dim myarr(0)
myarr(0) = "..."
myarr(1) = "..."
Dim c as new myClass
c.Streets = myarr()
End sub
Public Class MyClass
Public Property Let Streets(Value())
How can this class get the count of elements in the array?
End property
End Class