Click or drag to resize

ConfigAccessor.GetNodesByPath Method (ConfigNode,String[])

Reads repeated nodes from config node by a path.

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

Parameters

node
Type: (Default Namespace).ConfigNode
A node to read data from.
pathKeys
Type:System.String[]
An array of values that makes the full path. First node in the array is the top most component of the path.

Return Value

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