In order to enable serialization of custom item types, call the RegisterItemClass method. For example, to enable serialization of IconNode objects, add the following code in your form constructor.
C# Copy Code |
---|
// Enable serialization of IconNode instances |
Visual Basic Copy Code |
---|
' Enable serialization of IconNode instances |