Method MatrixGetInputLockMode
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixGetInputLockMode(string, int)
Gets a value indicating whether the specified matrix input is locked.
public virtual bool MatrixGetInputLockMode(string parameterName, int index)
Parameters
Returns
- bool
true
if the specified matrix input is locked; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isLocked = element.MatrixGetInputLockMode("Example matrix", 10);
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.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfInputs.
MatrixGetInputLockMode(int, string)
Gets a value indicating whether the specified matrix input is locked.
public virtual bool MatrixGetInputLockMode(int pid, string inputLabel)
Parameters
Returns
- bool
true
if the specified matrix input is locked; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isLocked = element.MatrixGetInputLockMode(1000, "Input 1");
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no input with the specified label.
MatrixGetInputLockMode(string, string)
Gets a value indicating whether the specified matrix input is locked.
public virtual bool MatrixGetInputLockMode(string parameterName, string inputLabel)
Parameters
parameterName
stringThe name of the matrix parameter.
inputLabel
stringThe label of the matrix input.
Returns
- bool
true
if the specified matrix input is locked; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isLocked = element.MatrixGetInputLockMode("Example matrix", "Input 1");
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 input with the specified label.
MatrixGetInputLockMode(int, int)
Gets a value indicating whether the specified matrix input is locked.
public virtual bool MatrixGetInputLockMode(int pid, int index)
Parameters
Returns
- bool
true
if the specified matrix input is locked; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool isLocked = element.MatrixGetInputLockMode(1000, 4);
Remarks
index
must be in the range 1..nrOfInputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfInputs.