BindingUtilities.GetValuesByIndex 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.]

Returns the values for a decision with a single index sets.

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

public static IEnumerable<double> GetValuesByIndex(
	this Decision decision


Type: Microsoft.SolverFoundation.Services.Decision
The decision.

Return Value

Type: System.Collections.Generic.IEnumerable<Double>
The decision values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Decision. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

The returned values are ordered by index.