LinearSolutionMapping.GetIndexes Method (Constraint)
Gets a collection of indexes of a constraint.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overrides Function GetIndexes ( _
constraint As Constraint _
) As IEnumerable(Of Object())
public override IEnumerable<Object[]> GetIndexes(
Constraint constraint
)
public:
virtual IEnumerable<array<Object^>^>^ GetIndexes(
Constraint^ constraint
) override
abstract GetIndexes :
constraint:Constraint -> IEnumerable<Object[]>
override GetIndexes :
constraint:Constraint -> IEnumerable<Object[]>
public override function GetIndexes(
constraint : Constraint
) : IEnumerable<Object[]>
Parameters
- constraint
Type: Microsoft.SolverFoundation.Services.Constraint
A constraint.
Return Value
Type: System.Collections.Generic.IEnumerable<array<Object[]>
A collection of indexes that are related to a constraint.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | constraint is a null reference (Nothing in Visual Basic). |
NotSupportedException | Cannot map a stochastic model. |
.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.
See Also
Reference
LinearSolutionMapping Members