I'm passing a type name and some parameters from C# code into a navigation framework written in VB. The navigation framework looks for a constructor on the type that matches the parameters passed in using Type.GetConstructor(Types()). The constructor that I'm looking for expects an array of integers -- Integer() in vb. But it gets an array of System.Int32. I've gone so far as to try this:
System.Int32[] int32Array = IdList.ToArray();
int[] intArray = new int[int32Array.Length];
for (int i = 0; i < int32Array.Length; i++ )
{
intArray[i] = (int)int32Array[i];
}
And the VB code still sees System.Int32 on the other end, which means that it doesn't find the constructor.
Any insights?