Click or drag to resize

ConfigAccessorGetNodesByPath Method (ConfigNode, String)

Reads repeated nodes from config node by a path.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntax
C#
public static ConfigNode[] GetNodesByPath(
	ConfigNode node,
	string path
)
Request Example View Source

Parameters

node
Type: (Default Namespace)ConfigNode
A node to read data from.
path
Type: SystemString
A string path to the nodes. Path components should be separated by '/' symbol.

Return Value

Type: ConfigNode
Array of nodes or null if path is not present in the node.
See Also