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

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

Return Value

Type: System.Boolean
true if the row identifier is mapped to the decision; otherwise, false.

.NET Framework Security

See Also

Reference

SolutionMapping Class

TryGetValue Overload

Microsoft.SolverFoundation.Services Namespace