Table of Contents

Method FindLastKeyOccurrenceInPath

Namespace
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Utils
Assembly
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll

FindLastKeyOccurrenceInPath(Path)

Finds the last occurrence of a key in a certain path. A path should typically only contain one key but in case there are multiple, it will return the one of the deepest child node.

public static string FindLastKeyOccurrenceInPath(Path path)

Parameters

path Path

The path that needs to be searched in.

Returns

string

The key that is found in the path.