Share via


AxdBaseProperty.pack Method [AX 2012]

Serializes the current instance of the AxdBaseProperty class.

Syntax

public container pack()

Run On

Called

Return Value

Type: container
A container that contains the current instance of the AxdBaseProperty class.

Examples

AxdBaseProperty axdBaseProperty =    AxdBaseProperty::construct(); 
Container       pack; 
// Serialize the class. 
pack = axdBaseProperty.pack(); 
// Deserialize the class.  
axdBaseProperty.unpack(pack); 
// Construct and deserialize the class. 
axdBaseProperty = AxdBaseProperty::create(pack);

See Also

AxdBaseProperty Class

AxdBaseProperty.unpack Method

AxdBaseProperty::create Method

Pack-Unpack Design Pattern