Constructs an initialized inclusive, read-only range of indices and
the boolean value each of the indices within the range contains.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 75.0.0.0
Syntax
Parameters
- firstIndex
- Type: System Int32
The starting index of the inclusive range represented by the constructed CogReadOnlyBoolRange. Must be greater than or equal to zero and less than or equal to lastIndex.
- lastIndex
- Type: System Int32
The ending index of the inclusive range represented by the constructed CogReadOnlyBoolRange. Must be greater than or equal to firstIndex.
- value
- Type: System Boolean
The boolean value represented by the constructed CogReadOnlyBoolRange.
Exceptions
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | firstIndex is less than zero or greater than lastIndex. |
See Also