Method MatrixGetOutputIndexFromOutputLabel
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixGetOutputIndexFromOutputLabel(int, string)
Gets the index of the output that corresponds with the specified output label.
int MatrixGetOutputIndexFromOutputLabel(int pid, string outputLabel)
Parameters
Returns
- int
The corresponding output index.
Remarks
The returned output is in the range 1..nrOfOutputs.
MatrixGetOutputIndexFromOutputLabel(string, string)
Gets the index of the output that corresponds with the specified output label.
note
Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.
[Obsolete("Use overloads with parameter ID instead of name.")]
int MatrixGetOutputIndexFromOutputLabel(string parameterName, string outputLabel)
Parameters
Returns
- int
The corresponding output index.
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.
The returned output is in the range 1..nrOfOutputs.