SolutionMapping.TryGetValue Method (Goal, 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 goal.

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

Syntax

'Declaration
Public Function TryGetValue ( _
    goal As Goal, _
    <OutAttribute> ByRef value As Rational _
) As Boolean
public bool TryGetValue(
    Goal goal,
    out Rational value
)
public:
bool TryGetValue(
    Goal^ goal, 
    [OutAttribute] Rational% value
)
member TryGetValue : 
        goal:Goal * 
        value:Rational byref -> bool 
public function TryGetValue(
    goal : Goal, 
    value : Rational
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

SolutionMapping Class

TryGetValue Overload

Microsoft.SolverFoundation.Services Namespace