Click or drag to resize

ConfigAccessorGetValuesByPath Method (ConfigNode, String)

Reads repeated values from config node by a path.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
public static string[] GetValuesByPath(
	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 values. Path components should be separated by '/' symbol.

Return Value

Type: String
Array of string values or null if path is not present in the node.
See Also