Solver Foundation 3.0
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates whether a row identifier is mapped to a constraint.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public abstract bool TryGetConstraint( int vid, out Constraint constraint, out Object indexes, out int component )
- Type: System.Int32
The row identifier.
- Type: Microsoft.SolverFoundation.Services.Constraint%
- Type: System.Object%
The indexes that are related to the constraint.
- Type: System.Int32%
A component of the constraint.
Return ValueType: System.Boolean
true if the row identifier is mapped to the constraint; 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.