Method ConvertPathElemToStringLimited
- Namespace
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Utils
- Assembly
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll
ConvertPathElemToStringLimited(PathElem[], int, bool)
Converts a limited gNMI PathElem object into a path string.
public static string ConvertPathElemToStringLimited(PathElem[] pathElems, int length, bool doIncludeKeys)
Parameters
pathElems
PathElem[]The path elements to convert.
length
intThe number of path elements to be included in the result.
doIncludeKeys
boolBoolean indicating if the path element keys need to be added.
Returns
- string
A path string containing the path node names separated by a forward slash '/'.