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
- goal
Type: Microsoft.SolverFoundation.Services.Goal
The goal.
- value
Type: Microsoft.SolverFoundation.Common.Rational%
The value of the goal.
Return Value
Type: System.Boolean
true if the row identifier is mapped to the goal; 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.