Model.AddDecisions Method (array<Decision[])
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Adds a group of decisions to a model.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub AddDecisions ( _
ParamArray decisions As Decision() _
)
public void AddDecisions(
params Decision[] decisions
)
public:
void AddDecisions(
... array<Decision^>^ decisions
)
member AddDecisions :
decisions:Decision[] -> unit
public function AddDecisions(
... decisions : Decision[]
)
Parameters
- decisions
Type: array<Microsoft.SolverFoundation.Services.Decision[]
The group of decisions.
Exceptions
Exception | Condition |
---|---|
ModelException | The decision was already added to a different model. |
.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.