Export (0) Print
Expand All

Decision.GetDouble Method

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts an indexed value to a double.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public double GetDouble(
	params Object[] indexes
)

Parameters

indexes
Type: System.Object[]
The indexes of the value to get.

Return Value

Type: System.Double
The value of the decision as a double.

ExceptionCondition
KeyNotFoundException

There is no value for the given indexes.

ArgumentOutOfRangeException

The number of indexes given does not match the number expected.

InvalidCastException

The value is not numeric.

Each element is an array where the first element is the result value, and the remaining elements are the index values.

Show:
© 2015 Microsoft