SolutionMapping.TryGetValue Method (Decision, array<Object[], Rational%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the value of the specified decision.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function TryGetValue ( _
decision As Decision, _
indexes As Object(), _
<OutAttribute> ByRef value As Rational _
) As Boolean
public bool TryGetValue(
Decision decision,
Object[] indexes,
out Rational value
)
public:
bool TryGetValue(
Decision^ decision,
array<Object^>^ indexes,
[OutAttribute] Rational% value
)
member TryGetValue :
decision:Decision *
indexes:Object[] *
value:Rational byref -> bool
public function TryGetValue(
decision : Decision,
indexes : Object[],
value : Rational
) : boolean
Parameters
- decision
Type: Microsoft.SolverFoundation.Services.Decision
The decision.
- indexes
Type: array<System.Object[]
The indexes that are related to the decision.
- value
Type: Microsoft.SolverFoundation.Common.Rational%
The value of the decision.
Return Value
Type: System.Boolean
true if the row identifier is mapped to the decision; otherwise, false.
.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.