PluginSolutionMapping.TryGetVid Method (Constraint, Object, Int32, 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 when passed a constraint, along with the indexes of the constraint, and a component part.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public override bool TryGetVid( Constraint constraint, Object indexes, int component, out int vid )
- Type: Microsoft.SolverFoundation.Services.Constraint
- Type: System.Object
The indexes that are related to the constraint.
- Type: System.Int32
The component part of the constraint.
- Type: System.Int32%
The row or variable index that is related to the constraint.
Return ValueType: System.Boolean
true if the constraint is mapped to a row or variable index; otherwise, false.
- 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.