A
André Almeida Maldonado
Hi,
I need to pass an array to my class property and when I call the class
constructor, I receive a cast error: "Conversion not specified"
I am declaring my array of the following way:
Dim arrCampos() as String
and my constructor is:
Public Sub New(ByVal strCons As String, ByVal arrArray As Object)
prpRelaCons = strCons
prpRelaCamp = arrArray ' ************************ ERROR LINE
*********************
End Sub
Somebody knows wherre is the error?
Marcus
I need to pass an array to my class property and when I call the class
constructor, I receive a cast error: "Conversion not specified"
I am declaring my array of the following way:
Dim arrCampos() as String
and my constructor is:
Public Sub New(ByVal strCons As String, ByVal arrArray As Object)
prpRelaCons = strCons
prpRelaCamp = arrArray ' ************************ ERROR LINE
*********************
End Sub
Somebody knows wherre is the error?
Marcus