SolutionMapping.TryGetVid Method (Constraint, Object[], Int32, Int32%)

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 row index associated with a specified constraint.

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

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

Parameters

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

Return Value

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

Show: