C# and VB 6.0 interop

derekzelazny

New member
Joined
Sep 11, 2003
Messages
4
I am trying to invoke COM+ component (written in VB6) which accepts parameter of ParamArray data type.
What would be equivalent data type in C# for ParamArray in VB6?

Thanks.
 
You need to make the last parameter an Object[] type, and use the ParamArrayAttribute attribute on the class. Look in the MSDN for more info.
 
Back
Top