OPC Studio User's Guide and Reference
OneDimension(Int32,Int32) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAIndexRangeList Class > OneDimension Method : OneDimension(Int32,Int32) Method
A minimum value of the range (i.e. a lower bound).

Valid values of this parameter are in the range from 0 to 2147483647 (Int32.MaxValue).

A maximum value of the range (i.e. an upper bound).

Valid values of this parameter are in the range from 0 to 2147483647 (Int32.MaxValue).

Creates a one-dimensional index range list with a given minimum and maximum.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function OneDimension( _
   ByVal minimum As Integer, _
   ByVal maximum As Integer _
) As UAIndexRangeList
'Usage
 
Dim minimum As Integer
Dim maximum As Integer
Dim value As UAIndexRangeList
 
value = UAIndexRangeList.OneDimension(minimum, maximum)
[NotNull()]
public static UAIndexRangeList OneDimension( 
   int minimum,
   int maximum
)
[NotNull()]
public:
static UAIndexRangeList^ OneDimension( 
   int minimum,
   int maximum
) 

Parameters

minimum
A minimum value of the range (i.e. a lower bound).

Valid values of this parameter are in the range from 0 to 2147483647 (Int32.MaxValue).

maximum
A maximum value of the range (i.e. an upper bound).

Valid values of this parameter are in the range from 0 to 2147483647 (Int32.MaxValue).

Return Value

Returns the created index range list.

This method never returns null (Nothing in Visual Basic).

The individual elements of the returned value are never null (Nothing in Visual Basic).

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