Click or drag to resize

ConfigAccessorSetValueByPath Method (ConfigNode, String, String)

Sets a value in config node by a path.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static void SetValueByPath(
	ConfigNode node,
	string path,
	string value
)
Request Example View Source

Parameters

node
Type: (Default Namespace)ConfigNode
A node to set data in.
path
Type: SystemString
A string path to the node. Path components should be separated by '/' symbol.
value
Type: SystemString
A string value to store.
See Also