QuickOPC User's Guide and Reference
UAIndexRange Constructor(Int32,Int32)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAIndexRange Class > UAIndexRange Constructor : UAIndexRange Constructor(Int32,Int32)
A minimum value of the range (i.e. a lower bound).
A maximum value of the range (i.e. an upper bound).
Creates a range with a given minimum and maximum.
Syntax
'Declaration
 
Public Function New( _
   ByVal minimum As Integer, _
   ByVal maximum As Integer _
)
'Usage
 
Dim minimum As Integer
Dim maximum As Integer
 
Dim instance As New UAIndexRange(minimum, maximum)
public UAIndexRange( 
   int minimum,
   int maximum
)
public:
UAIndexRange( 
   int minimum,
   int maximum
)

Parameters

minimum
A minimum value of the range (i.e. a lower bound).
maximum
A maximum value of the range (i.e. an upper bound).
Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

The value of an argument is outside the allowable range of values as defined by the invoked method.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also