SolutionMapping.TryGetVid Method (Constraint, array<Object[], Int32, 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 constraint.

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


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


  • indexes
    Type: array<System.Object[]
    The indexes that are related to the constraint.
  • component
    Type: System.Int32
    The components of the constraint.

Return Value

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

.NET Framework Security

See Also


SolutionMapping Class

TryGetVid Overload

Microsoft.SolverFoundation.Services Namespace