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