ConstraintSystem.CreateIntegerSet Method (array<Int32[], Int32, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Create a domain of allowed integer values in strictly descending order.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function CreateIntegerSet ( _
orderedUniqueSet As Integer(), _
from As Integer, _
count As Integer _
) As CspDomain
public CspDomain CreateIntegerSet(
int[] orderedUniqueSet,
int from,
int count
)
public:
CspDomain^ CreateIntegerSet(
array<int>^ orderedUniqueSet,
int from,
int count
)
member CreateIntegerSet :
orderedUniqueSet:int[] *
from:int *
count:int -> CspDomain
public function CreateIntegerSet(
orderedUniqueSet : int[],
from : int,
count : int
) : CspDomain
Parameters
- orderedUniqueSet
Type: array<System.Int32[]
The ordered sequence of values to include in the set.
- from
Type: System.Int32
The starting position in orderedUniqueSet.
- count
Type: System.Int32
The number of elements from the starting position to include in the set.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspDomain
A domain of allowed integer values in strictly descending order.
.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.