C
Chris
I am calling a COM object that returns a type Object and
it contains two strings but I can't get them out. Here is
the command:
object ParamNameObj= localxPCCOMOBJ.xPCTarget.GetParamName
(1);
ParamNameObj shows up as a System.Array in the watch window
with the following elements.
-[0] datastr1 as string
-[1] datastr2 as string
But I can't get the data. I've tried .ToString object
method and it gives me "System.Array" I've tried to
reference the object as an array but it tells me that the
object is variable and not a method.
Thanks,
Chris
it contains two strings but I can't get them out. Here is
the command:
object ParamNameObj= localxPCCOMOBJ.xPCTarget.GetParamName
(1);
ParamNameObj shows up as a System.Array in the watch window
with the following elements.
-[0] datastr1 as string
-[1] datastr2 as string
But I can't get the data. I've tried .ToString object
method and it gives me "System.Array" I've tried to
reference the object as an array but it tells me that the
object is variable and not a method.
Thanks,
Chris