Table of Contents

Method SetParameter

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SetParameter(int, object)

Sets the value of the specified parameter.

void SetParameter(int pid, object value)

Parameters

pid int

The parameter ID.

value object

The value to set.

SetParameter(int, string, object)

Sets the value of the specified cell.

void SetParameter(int pid, string idx, object value)

Parameters

pid int

The ID of the column parameter.

idx string

The display key of the row.

value object

The value to set.

SetParameter(string, object)

Sets the value of the specified 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.")]
void SetParameter(string name, object value)

Parameters

name string

The parameter name.

value object

The value to set.

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.

SetParameter(string, string, object)

Sets the value of the specified 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.")]
void SetParameter(string name, string idx, object value)

Parameters

name string

The name of the column parameter.

idx string

The display key of the row.

value object

The value to set.

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.