Domain.IntegerRange Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a domain representing an integer value in a restricted range.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function IntegerRange ( _
min As Rational, _
max As Rational _
) As Domain
public static Domain IntegerRange(
Rational min,
Rational max
)
public:
static Domain^ IntegerRange(
Rational min,
Rational max
)
static member IntegerRange :
min:Rational *
max:Rational -> Domain
public static function IntegerRange(
min : Rational,
max : Rational
) : Domain
Parameters
- min
Type: Microsoft.SolverFoundation.Common.Rational
The minimum value in the range.
- max
Type: Microsoft.SolverFoundation.Common.Rational
The maximum value in the range.
Return Value
Type: Microsoft.SolverFoundation.Services.Domain
A domain representing the range.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.