PluginSolutionMapping.TryGetGoal Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a goal.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overrides Function TryGetGoal ( _
vid As Integer, _
<OutAttribute> ByRef goal As Goal _
) As Boolean
public override bool TryGetGoal(
int vid,
out Goal goal
)
public:
virtual bool TryGetGoal(
int vid,
[OutAttribute] Goal^% goal
) override
abstract TryGetGoal :
vid:int *
goal:Goal byref -> bool
override TryGetGoal :
vid:int *
goal:Goal byref -> bool
public override function TryGetGoal(
vid : int,
goal : Goal
) : boolean
Parameters
- vid
Type: System.Int32
A row or variable index.
- goal
Type: Microsoft.SolverFoundation.Services.Goal%
The goal that is mapped to the row or variable index.
Return Value
Type: System.Boolean
true if the row or variable index is mapped to a 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.