Table of Contents

Method FindWriteParameterID

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

FindWriteParameterID(string)

Gets the ID of the write parameter with the specified name.

public virtual int FindWriteParameterID(string name)

Parameters

name string

The name of the write parameter.

Returns

int

The ID of the write parameter with the specified name or -1 if the write parameter was not found.

Examples

Element element = engine.FindElement(400, 2000);
int parameterId = element.FindWriteParameterID("MyWriteParameter");

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.