Method MatrixIsLineEnabled
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixIsLineEnabled(int, bool, string)
Gets a value indicating whether the specified matrix input or output is enabled.
bool MatrixIsLineEnabled(int pid, bool input, string lineLabel)
Parameters
pidintThe ID of the matrix parameter.
inputbooltrueif the specified index is an input; otherwise,false.lineLabelstringThe label of the matrix input or output.
Returns
- bool
trueif the specified matrix input or output is enabled; otherwise,false.
MatrixIsLineEnabled(int, bool, int)
Gets a value indicating whether the specified matrix input or output is enabled.
bool MatrixIsLineEnabled(int pid, bool input, int index)
Parameters
pidintThe ID of the matrix parameter.
inputbooltrueif the specified index is an input; otherwise,false.indexintThe index of the matrix input or output.
Returns
- bool
trueif the specified matrix input or output is enabled; otherwise,false.
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.
MatrixIsLineEnabled(string, bool, string)
Gets a value indicating whether the specified matrix input or output is enabled.
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.")]
bool MatrixIsLineEnabled(string parameterName, bool input, string lineLabel)
Parameters
parameterNamestringThe name of the matrix parameter.
inputbooltrueif the specified index is an input; otherwise,false.lineLabelstringThe label of the matrix input or output.
Returns
- bool
trueif the specified matrix input or output is enabled; otherwise,false.
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.
MatrixIsLineEnabled(string, bool, int)
Gets a value indicating whether the specified matrix input or output is enabled.
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.")]
bool MatrixIsLineEnabled(string parameterName, bool input, int index)
Parameters
parameterNamestringThe name of the matrix parameter.
inputbooltrueif the specified index is an input; otherwise,false.indexintThe index of the matrix input or output.
Returns
- bool
trueif the specified matrix input or output is enabled; otherwise,false.
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.