BindingUtilities.GetValuesByIndex Method
[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)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetValuesByIndex ( _
decision As Decision _
) As IEnumerable(Of Double)
public static IEnumerable<double> GetValuesByIndex(
this Decision decision
)
[ExtensionAttribute]
public:
static IEnumerable<double>^ GetValuesByIndex(
Decision^ decision
)
static member GetValuesByIndex :
decision:Decision -> IEnumerable<float>
public static function GetValuesByIndex(
decision : Decision
) : IEnumerable<double>
Parameters
- 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).
Remarks
The returned values are ordered by index.
.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.