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[] pathKeys,
	string value
)
Request Example View Source

Parameters

node
Type: (Default Namespace)ConfigNode
A node to set data in.
pathKeys
Type: SystemString
An array of values that makes the full path. First node in the array is the top most component of the path.
value
Type: SystemString
A string value to store.
See Also