void* GetNodeUserData_bn ( const node_bn*  node,   int  kind )

Returns a pointer to information previously attached to node using SetNodeUserData_bn, or NULL if no pointer has been attached yet.

This information is understood only by the program using Netica API. It may point to whatever is desired, possibly a large structure with many fields. It is not saved to file with node (for that see GetNodeUserField_bn).

Pass 0 for kind. It is only for future expansion.


This function is available in all versions.

See also:

SetNodeUserData_bn    Sets it
GetNodeUserField_bn    Named field (attribute-value) data, which is saved to file
GetNetUserData_bn    Retrieve the user pointer attached to a whole net