PluginSolutionMapping.TryGetDecision Method

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

Returns a decision.

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

Syntax

'Declaration
Public Overrides Function TryGetDecision ( _
    vid As Integer, _
    <OutAttribute> ByRef decision As Decision, _
    <OutAttribute> ByRef indexes As Object() _
) As Boolean
public override bool TryGetDecision(
    int vid,
    out Decision decision,
    out Object[] indexes
)
public:
virtual bool TryGetDecision(
    int vid, 
    [OutAttribute] Decision^% decision, 
    [OutAttribute] array<Object^>^% indexes
) override
abstract TryGetDecision : 
        vid:int * 
        decision:Decision byref * 
        indexes:Object[] byref -> bool 
override TryGetDecision : 
        vid:int * 
        decision:Decision byref * 
        indexes:Object[] byref -> bool 
public override function TryGetDecision(
    vid : int, 
    decision : Decision, 
    indexes : Object[]
) : boolean

Parameters

  • indexes
    Type: array<System.Object[]%
    The indexes that are related to the decision.

Return Value

Type: System.Boolean
true if the row or variable index is mapped to a decision; otherwise, false.

Remarks

The caller must not change the indexes array.

.NET Framework Security

See Also

Reference

PluginSolutionMapping Class

Microsoft.SolverFoundation.Services Namespace