Export (0) Print
Expand All

SolutionMapping.TryGetConstraint Method

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.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public abstract bool TryGetConstraint(
	int vid,
	out Constraint constraint,
	out Object[] indexes,
	out int component
)

Parameters

vid
Type: System.Int32
The row identifier.
constraint
Type: Microsoft.SolverFoundation.Services.Constraint%
The constraint.
indexes
Type: System.Object[]%
The indexes that are related to the constraint.
component
Type: System.Int32%
A component of the constraint.

Return Value

Type: System.Boolean
true if the row identifier is mapped to the constraint; otherwise, false.

Show:
© 2014 Microsoft