RandomParameter Constructor (String, array<Set[])
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the RandomParameter class with the specified index sets.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Protected Sub New ( _
name As String, _
ParamArray indexSets As Set() _
)
protected RandomParameter(
string name,
params Set[] indexSets
)
protected:
RandomParameter(
String^ name,
... array<Set^>^ indexSets
)
new :
name:string *
indexSets:Set[] -> RandomParameter
protected function RandomParameter(
name : String,
... indexSets : Set[]
)
Parameters
- name
Type: System.String
A unique name for the parameter. If the value is nulla null reference (Nothing in Visual Basic), a unique name is generated.
- indexSets
Type: array<Microsoft.SolverFoundation.Services.Set[]
The index sets to use. Omit this parameter to create a scalar parameter.
.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.