Table of Contents

Method Get

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Get(string)

Gets the value from the script memory entry with the specified description.

public object Get(string positionDesc)

Parameters

positionDesc string

The description of the script memory entry.

Returns

object

The value of the script memory entry with the specified description.

Examples

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

Exceptions

DataMinerException

There is no script memory entry with the specified description.

Get(int)

Gets the specified value from the memory file.

public object Get(int position)

Parameters

position int

The position of the memory file entry.

Returns

object

The value of the specified memory position.

Examples

ScriptMemory memory = engine.GetMemory("myMemory");
object myValue = memory.Get(1);

Exceptions

DataMinerException

There is no script memory entry with the specified position.