TryGetDecision Method
Collapse the table of content
Expand the table of content

CspSolutionMapping.TryGetDecision 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.]

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a value that indicates whether a row identifier is mapped to a decision.

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

public override bool TryGetDecision(
	int vid,
	out Decision decision,
	out Object[] indexes
)

Parameters

vid
Type: System.Int32
The row identifier.
decision
Type: Microsoft.SolverFoundation.Services.Decision%
The decision.
indexes
Type: System.Object[]%
The indexes that are related to the decision.

Return Value

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

ExceptionCondition
NotSupportedException

Any time this method is called.

Show:
© 2016 Microsoft