Modifies the minimum and maximum of the range at the same time.
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Sub SetRange( _
   ByVal  As Integer, _
   ByVal  As Integer _
) 
             
        
            
            'Usage
 
Dim instance As UAIndexRange
Dim minimum As Integer
Dim maximum As Integer
 
instance.SetRange(minimum, maximum)
             
        
            
            public void SetRange( 
   int ,
   int 
)
             
        
            
            public:
void SetRange( 
   int ,
   int 
) 
             
        
             
        
            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).
 
            
             
            Exceptions
| Exception | Description | 
| System.ArgumentException | 
            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.  | 
| System.ArgumentOutOfRangeException | 
            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