DiscreteUniformDistributionParameter Constructor (String, Int32, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new discrete uniform distribution. Initializes a new instance of the DiscreteUniformDistributionParameter class.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
lowerBound As Integer, _
upperBound As Integer _
)
public DiscreteUniformDistributionParameter(
string name,
int lowerBound,
int upperBound
)
public:
DiscreteUniformDistributionParameter(
String^ name,
int lowerBound,
int upperBound
)
new :
name:string *
lowerBound:int *
upperBound:int -> DiscreteUniformDistributionParameter
public function DiscreteUniformDistributionParameter(
name : String,
lowerBound : int,
upperBound : int
)
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.
- lowerBound
Type: System.Int32
The lower bound (inclusive).
- upperBound
Type: System.Int32
The upper bound (inclusive).
.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.
See Also
Reference
DiscreteUniformDistributionParameter Class