ConstraintSolverSolution.GetDoubleValue Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the value of a variable in a solution.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function GetDoubleValue ( _
variable As CspTerm _
) As Double
public double GetDoubleValue(
CspTerm variable
)
public:
double GetDoubleValue(
CspTerm^ variable
)
member GetDoubleValue :
variable:CspTerm -> float
public function GetDoubleValue(
variable : CspTerm
) : double
Parameters
- variable
Type: Microsoft.SolverFoundation.Solvers.CspTerm
A variable for the CSP solver.
Return Value
Type: System.Double
The value of a variable in a solution.
.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.