Инструменты пользователя

Инструменты сайта


axapta:упаковкамассиваобъектов

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

axapta:упаковкамассиваобъектов [2018/04/13 22:43] (текущий)
Строка 1: Строка 1:
 +http://blogs.msdn.com/palle_agermark/archive/2005/05/13/417116.aspx
  
 +If you want to pack an array with values of the types class, the classes 
 +held by the array must also be able to be packed. Therefore the class that's in the array must implement SysPackable and you 
 +must implement the pack and unpack methods. I presume you are familiar with 
 +these methods.Furthermore the class must have a static method called create. For example:
 +<code java>
 +static public MyValueClass create(Container _packedClass)
 +{
 +    MyValueClass  myValueClass;
 +    ;
 + 
 +    myValueClass = new MyValueClass();    
 +    myValueClass.unpack(_container);    
 +    return myValueClass;
 +}
 +</code>
axapta/упаковкамассиваобъектов.txt · Последнее изменение: 2018/04/13 22:43 (внешнее изменение)