Serializing Tab<IINode> in pblock2?

 
 
 
Posted by:duke
Data created:5 April 2011

How do I save a list of nodes in my paramblock?

I've tried this:

ParamBlockDesc.AddParam(2, new object[] {"nodes", ParamType2.Tab, ParamBlock2Flags.VariableSize});

...and this:

ParamBlockDesc.AddParam(2, new object[] {"nodes", ParamType2.InodeTab, ParamBlock2Flags.VariableSize});

..but they both throw exceptions.

 

To clarify, I want to mimic the behaviour of, say, ProBoolean, that maintains a list of references to the other nodes that participate in the boolean result.