CspSolutionMapping.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 value that indicates the variable id of a decision is successfully retrieved.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
true if the variable id of a decision is successfully retrieved; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

decision or indexes is a null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

CspSolutionMapping Class

TryGetVid Overload

Microsoft.SolverFoundation.Services Namespace