Table of Contents

Method Set

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Set(string, object)

Sets the script memory entry with the specified description to the specified value.

public void Set(string positionDesc, object val)

Parameters

positionDesc string

The description of the script memory entry.

val object

The value to set.

Examples

ScriptMemory memory = engine.GetMemory("myMemory");
object myValue = memory.Set("myEntryDescription", "myValue");

Set(int, object)

Sets the script memory entry with the specified position to the specified value.

public void Set(int position, object val)

Parameters

position int

The position of the script memory entry.

val object

The value to set.

Examples

ScriptMemory memory = engine.GetMemory("myMemory");
object myValue = memory.Set(10, "myValue");