void SetNetUserField_bn ( net_bn*  net,   const char*  name,   const void*  data,   int  length,   int  kind )

This associates user-defined data with net on a field-by-field basis. When net is written to file, this data will be saved to the file with it, and will be available when the net is read back from file.

It works exactly like SetNodeUserField_bn; see that function for usage information.

Version:

Versions 2.00 and later have this function.

See also:

GetNetUserField_bn    Retrieves value, by its name
GetNetNthUserField_bn    Iterate through the user fields of this net
SetNetUserData_bn    To attach completely user-managed data (not saved to file)
SetNodeUserField_bn    Attach field-by-field data to a particular node