Method MatrixSetLabel
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixSetLabel(int, bool, int, string)
Sets the label of the specified matrix input or output.
void MatrixSetLabel(int pid, bool input, int index, string newName)Parameters
- pidint
- The ID of the matrix parameter. 
- inputbool
- trueif the specified index is an input; otherwise,- false.
- indexint
- The index of the input or output. 
- newNamestring
- The new label. 
Remarks
index must be in the range 1..nrOfInputs if input is true.
index must be in the range 1..nrOfOutputs if input is false.
MatrixSetLabel(int, bool, string, string)
Sets the label of the specified matrix input or output.
void MatrixSetLabel(int pid, bool input, string oldName, string newName)Parameters
- pidint
- The ID of the matrix parameter. 
- inputbool
- trueif the specified index is an input; otherwise,- false.
- oldNamestring
- The label of the input or output. 
- newNamestring
- The new label. 
MatrixSetLabel(string, bool, int, string)
Sets the label of the specified matrix input or output.
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.")]
void MatrixSetLabel(string parameterName, bool input, int index, string newName)Parameters
- parameterNamestring
- The name of the matrix parameter. 
- inputbool
- trueif the specified index is an input; otherwise,- false.
- indexint
- The index of the input or output. 
- newNamestring
- The new label. 
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.
index must be in the range 1..nrOfInputs if input is true.
index must be in the range 1..nrOfOutputs if input is false.
MatrixSetLabel(string, bool, string, string)
Sets the label of the specified matrix input or output.
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.")]
void MatrixSetLabel(string parameterName, bool input, string oldName, string newName)Parameters
- parameterNamestring
- The name of the matrix parameter. 
- inputbool
- trueif the specified index is an input; otherwise,- false.
- oldNamestring
- The label of the input or output. 
- newNamestring
- The new label. 
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.