APIs, concepts, guides, and more

◆ VendorNameGet()

const char *const VendorNameGet ( )
Description:
Returns the <VendorName> text associated with this node's Vendor ID, as defined in NodeInfo.xml or CustomNodeInfo.xml. The value is cached when the RapidCodeNetworkNode object is initialized, so subsequent calls return the cached value.
Returns
(C++)const char* (C#)string - The vendor name, or an empty string if the node does not exist on the network or is not defined in the XML files.
Note
The vendor name is read once at initialization. If you modify the XML files after creating the RapidCodeNetworkNode, you must recreate it to see the changes.
See also
NodeInfo & CustomNodeInfo files, ProductNameGet, VendorIdGet, Exists
printf("The node's VendorName is %s.\n", node->VendorNameGet());