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
parameterNamestringThe name of the matrix parameter.
indexintThe index of the output.
newNamestringThe 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-
indexis 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
pidintThe ID of the matrix parameter.
oldNamestringThe label of the output.
newNamestringThe 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
pidintThe ID of the matrix parameter.
indexintThe index of the output.
newNamestringThe 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-
indexis 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
parameterNamestringThe name of the matrix parameter.
oldNamestringThe label of the output.
newNamestringThe 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.