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#
![]() |
---|
// Enable serialization of IconNode instances |
Visual Basic
![]() |
---|
' Enable serialization of IconNode instances |