Method FindDisplayKey
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
FindDisplayKey(int, string)
Gets the display key that corresponds with the specified primary key.
public virtual string FindDisplayKey(int pid, string primaryKey)
Parameters
Returns
Examples
Element element = engine.FindElement(400, 2000);
string displayKey = element.FindDisplayKey(1000, "1");
FindDisplayKey(string, string)
Gets the display key that corresponds with the specified primary key.
public virtual string FindDisplayKey(string parameterName, string primaryKey)
Parameters
Returns
Examples
Element element = engine.FindElement(400, 2000);
string displayKey = element.FindDisplayKey("Overview", "1");
Remarks
The specified value for the parameterName
argument should be the value of the Description tag of the parameter and not the value of the Name tag.