Method MatrixGetFollowMode
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixGetFollowMode(int, int)
Gets a value indicating whether "follow mode" is enabled on the specified matrix output.
public virtual bool MatrixGetFollowMode(int pid, int index)
Parameters
Returns
- bool
true
if the "follow mode" is enabled on the specified matrix output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixGetFollowMode(1000, 1);
Remarks
index
must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfOutputs.
MatrixGetFollowMode(string, int)
Gets a value indicating whether "follow mode" is enabled on the specified matrix output.
public virtual bool MatrixGetFollowMode(string parameterName, int index)
Parameters
Returns
- bool
true
if the "follow mode" is enabled on the specified matrix output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixGetFollowMode("Example Matrix", 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.
index
must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfOutputs.
MatrixGetFollowMode(string, string)
Gets a value indicating whether "follow mode" is enabled on the specified matrix output.
public virtual bool MatrixGetFollowMode(string parameterName, string outputLabel)
Parameters
Returns
- bool
true
if the "follow mode" is enabled on the specified matrix output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixGetFollowMode("Example Matrix", "Output 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 output with the specified label.
MatrixGetFollowMode(int, string)
Gets a value indicating whether "follow mode" is enabled on the specified matrix output.
public virtual bool MatrixGetFollowMode(int pid, string outputLabel)
Parameters
Returns
- bool
true
if the "follow mode" is enabled on the specified matrix output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixGetFollowMode(1000, "Output 1");
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.