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
- vid
Type: System.Int32
A row or variable index.
- decision
Type: Microsoft.SolverFoundation.Services.Decision%
The decision that is associated with the row or variable index.
- 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
- 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.