I'm trying to call a C# method from JavaScript by using ActiveXObject
:
var myobj = new ActiveXObject('myobject');
var arr = myobj.GetArray();
Eventually, arr
will contain a SAFEARRAY
object, but not JScript
array. Is there any way to return native JavaScript object from a C# method?