GetComponents Method

SolutionMapping.GetComponents 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 collection of components that are related to a constraint.

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

public abstract IEnumerable<int> GetComponents(
	Constraint constraint,
	Object[] indexes


Type: Microsoft.SolverFoundation.Services.Constraint
The constraint.
Type: System.Object[]
The indexes that are used to retrieve components.

Return Value

Type: System.Collections.Generic.IEnumerable<Int32>
A collection of components that are related to the constraint.

© 2015 Microsoft