ConfigAccessorGetValueByPath Method (ConfigNode, String) |
Reads a value from 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+
Syntaxpublic static string GetValueByPath(
ConfigNode node,
string path
)
Request Example
View SourceParameters
- node
- Type: (Default Namespace)ConfigNode
A node to read data from. - path
- Type: SystemString
A string path to the value. Path components should be separated by '/'
symbol.
Return Value
Type:
StringString value or
null if path or value is not present in the
node.
See Also