|
03.07.2007, 00:31 | #1 |
Участник
|
Issues concerning X++: CLR interop: Passing Int16 values to managed code.
Источник: http://blogs.msdn.com/x/archive/2007...aged-code.aspx
============== As you all know, Dynamics AX supports 32 bit integers in its int datatype. However, sometimes you need to transfer an int16 value to a managed method. Currently the easiest way to acheive this is by doing: static void Job2(Args _args) { System.Int16 short; int num = 2356; ; short = System.Convert::ToInt16(num); print short; pause; } Источник: http://blogs.msdn.com/x/archive/2007...aged-code.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|