public object RetrieveIdlInt3DimArray2x2x3AsAny([IdlArray(0L, 2)][IdlArrayDimension(0L, 1, 2)][IdlArrayDimension(0L, 2, 3)] System.Int32[,,] arg) { // test with explicit typecode-creation IOrbServices orbServices = OrbServices.GetSingleton(); omg.org.CORBA.TypeCode arrayTC = orbServices.create_array_tc(3, orbServices.create_tc_for_type(typeof(int))); arrayTC = orbServices.create_array_tc(2, arrayTC); arrayTC = orbServices.create_array_tc(2, arrayTC); Any arrayAsAny = new Any(arg, arrayTC); return(arrayAsAny); }
public object RetrieveIdlIntArrayAsAny([IdlArray(0L, 5)] int[] arg) { // test with explicit typecode-creation IOrbServices orbServices = OrbServices.GetSingleton(); omg.org.CORBA.TypeCode arrayTC = orbServices.create_array_tc(5, orbServices.create_tc_for_type(typeof(int))); Any arrayAsAny = new Any(arg, arrayTC); return(arrayAsAny); }