SolutionMapping.TryGetVid Method (Decision, array<Object[], Int32%)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a row index associated with a specified decision.

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

Syntax

'Declaration
Public MustOverride Function TryGetVid ( _
    decision As Decision, _
    indexes As Object(), _
    <OutAttribute> ByRef vid As Integer _
) As Boolean
public abstract bool TryGetVid(
    Decision decision,
    Object[] indexes,
    out int vid
)
public:
virtual bool TryGetVid(
    Decision^ decision, 
    array<Object^>^ indexes, 
    [OutAttribute] int% vid
) abstract
abstract TryGetVid : 
        decision:Decision * 
        indexes:Object[] * 
        vid:int byref -> bool 
public abstract function TryGetVid(
    decision : Decision, 
    indexes : Object[], 
    vid : int
) : boolean

Parameters

  • indexes
    Type: array<System.Object[]
    The indexes that are related to the decision.

Return Value

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

.NET Framework Security

See Also

Reference

SolutionMapping Class

TryGetVid Overload

Microsoft.SolverFoundation.Services Namespace