Method MatrixSetOutputLabel
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixSetOutputLabel(string, int, string)
Sets the label of the specified matrix output.
public virtual void MatrixSetOutputLabel(string parameterName, int index, string newName)
Parameters
parameterName
stringThe name of the matrix parameter.
index
intThe index of the output.
newName
stringThe new output label.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetOutputLabel("Example Matrix", 10, "A");
Remarks
index
must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfOutputs.
MatrixSetOutputLabel(int, string, string)
Sets the label of the specified matrix output.
public virtual void MatrixSetOutputLabel(int pid, string oldName, string newName)
Parameters
pid
intThe ID of the matrix parameter.
oldName
stringThe label of the output.
newName
stringThe new output label.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetOutputLabel(1000, "Output 1", "A");
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.
MatrixSetOutputLabel(int, int, string)
Sets the label of the specified matrix output.
public virtual void MatrixSetOutputLabel(int pid, int index, string newName)
Parameters
pid
intThe ID of the matrix parameter.
index
intThe index of the output.
newName
stringThe new output label.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetOutputLabel(1000, 10, "A");
Remarks
index
must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfOutputs.
MatrixSetOutputLabel(string, string, string)
Sets the label of the specified matrix output.
public virtual void MatrixSetOutputLabel(string parameterName, string oldName, string newName)
Parameters
parameterName
stringThe name of the matrix parameter.
oldName
stringThe label of the output.
newName
stringThe new output label.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetOutputLabel("Example Matrix", "Output 1", "A");
Remarks
The specified value for the parameterName
argument should be the value of the Description tag of the parameter and not the value of the Name tag.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.