CspSolutionMapping.GetComponents Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
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 Overrides Function GetComponents ( _
constraint As Constraint, _
indexes As Object() _
) As IEnumerable(Of Integer)
public override IEnumerable<int> GetComponents(
Constraint constraint,
Object[] indexes
)
public:
virtual IEnumerable<int>^ GetComponents(
Constraint^ constraint,
array<Object^>^ indexes
) override
abstract GetComponents :
constraint:Constraint *
indexes:Object[] -> IEnumerable<int>
override GetComponents :
constraint:Constraint *
indexes:Object[] -> IEnumerable<int>
public override function GetComponents(
constraint : Constraint,
indexes : Object[]
) : IEnumerable<int>
Parameters
- constraint
Type: Microsoft.SolverFoundation.Services.Constraint
The constraint.
- indexes
Type: array<System.Object[]
The indexes that are used to retrieve components.
Return Value
Type: System.Collections.Generic.IEnumerable<Int32>
The collection of components.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Any time this method is called. |
.NET Framework Security
- 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.