CspSolutionMapping.TryGetVid Method (Goal, Int32%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns a value that indicates whether a row identifier is mapped to a goal.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overrides Function TryGetVid ( _
goal As Goal, _
<OutAttribute> ByRef vid As Integer _
) As Boolean
public override bool TryGetVid(
Goal goal,
out int vid
)
public:
virtual bool TryGetVid(
Goal^ goal,
[OutAttribute] int% vid
) override
abstract TryGetVid :
goal:Goal *
vid:int byref -> bool
override TryGetVid :
goal:Goal *
vid:int byref -> bool
public override function TryGetVid(
goal : Goal,
vid : int
) : boolean
Parameters
- goal
Type: Microsoft.SolverFoundation.Services.Goal
The goal.
- vid
Type: System.Int32%
The row identifier.
Return Value
Type: System.Boolean
true if the row identifier is mapped to the goal; otherwise, false.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Any time this method is called. |
.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.