Share via


SolutionMapping::GetComponents Method

[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)

Syntax

'Declaration
Public MustOverride Function GetComponents ( _
    constraint As Constraint, _
    indexes As Object() _
) As IEnumerable(Of Integer)
public abstract IEnumerable<int> GetComponents(
    Constraint constraint,
    Object[] indexes
)
public:
virtual IEnumerable<int>^ GetComponents(
    Constraint^ constraint, 
    array<Object^>^ indexes
) abstract
abstract GetComponents : 
        constraint:Constraint * 
        indexes:Object[] -> IEnumerable<int> 
public abstract function GetComponents(
    constraint : Constraint, 
    indexes : Object[]
) : IEnumerable<int>

Parameters

  • indexes
    Type: array<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.

.NET Framework Security

See Also

Reference

SolutionMapping Class

Microsoft.SolverFoundation.Services Namespace