Table of Contents

Method GetParameterDisplay

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

GetParameterDisplay(int)

Gets the display value of the specified standalone parameter.

string GetParameterDisplay(int pid)

Parameters

pid int

The ID of the standalone parameter.

Returns

string

The display value of the specified standalone parameter.

Remarks

Useful for discrete parameters.

GetParameterDisplay(int, string)

Gets the display value of the specified table cell.

string GetParameterDisplay(int pid, string idx)

Parameters

pid int

The ID of the column parameter.

idx string

The primary key or display key.

Returns

string

The display value of the specified table cell or "Not Initialized" if the specified row was not found.

Remarks

Useful for discrete parameters.

GetParameterDisplay(string)

Gets the display value of the specified standalone parameter.

note

Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.

[Obsolete("Use overloads with parameter ID instead of name.")]
string GetParameterDisplay(string name)

Parameters

name string

The name of the standalone parameter.

Returns

string

The display value of the specified standalone parameter.

Remarks

The specified value for the name argument should be the value of the Description tag of the parameter and not the value of the Name tag.

Useful for discrete parameters.

GetParameterDisplay(string, string)

Gets the display value of the specified table cell.

note

Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.

[Obsolete("Use overloads with parameter ID instead of name.")]
string GetParameterDisplay(string name, string idx)

Parameters

name string

The name of the column parameter.

idx string

The primary key or display key.

Returns

string

The display value of the specified table cell or "Not Initialized" if the specified row was not found.

Remarks

The specified value for the name argument should be the value of the Description tag of the parameter and not the value of the Name tag.

Useful for discrete parameters.