I am wondering if there is a way (maybe via Marshalling ) to pass an
array
of Objects of some C# defined class to VB. I am already launching a C#
form
from VB with simple call backs using a basic interface. Now what I need
is nice way to pass back an array of a certain type of class.
//Some C# class
public class SomeClass{
// various parameters (strings and ints)
}
//Code that would pass an array of the above class to the VB app....
SomeClass[] arraySomeClasses = getSomeClasses();
? passArrayToVB(arraySomeClasses);
Not really sure where to start with this one.
Many thanks and good karma in return !