PluginSolutionMapping.TryGetVid Method (Decision, array<Object[], Int32%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the row or variable index that is associated with a specified decision.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overrides Function TryGetVid ( _
decision As Decision, _
indexes As Object(), _
<OutAttribute> ByRef vid As Integer _
) As Boolean
public override bool TryGetVid(
Decision decision,
Object[] indexes,
out int vid
)
public:
virtual bool TryGetVid(
Decision^ decision,
array<Object^>^ indexes,
[OutAttribute] int% vid
) override
abstract TryGetVid :
decision:Decision *
indexes:Object[] *
vid:int byref -> bool
override TryGetVid :
decision:Decision *
indexes:Object[] *
vid:int byref -> bool
public override function TryGetVid(
decision : Decision,
indexes : Object[],
vid : int
) : boolean
Parameters
- decision
Type: Microsoft.SolverFoundation.Services.Decision
A decision.
- indexes
Type: array<System.Object[]
The indexes that are related to the decision.
- vid
Type: System.Int32%
The row or variable index that is related to the decision.
Return Value
Type: System.Boolean
true if the decision is mapped to a row or variable index; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The decision or indexes parameter is a null reference (Nothing in Visual Basic). |
.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.