HybridLocalSearchModel.AddOperation Method (TermModelOperation, Int32%, array<Int32[])

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

Adds an operation row to the model.

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


Public Function AddOperation ( _
    op As TermModelOperation, _
    <OutAttribute> ByRef vidOp As Integer, _
    ParamArray vids As Integer() _
) As Boolean
public bool AddOperation(
    TermModelOperation op,
    out int vidOp,
    params int[] vids
virtual bool AddOperation(
    TermModelOperation op, 
    [OutAttribute] int% vidOp, 
    ... array<int>^ vids
) sealed
abstract AddOperation : 
        op:TermModelOperation * 
        vidOp:int byref * 
        vids:int[] -> bool 
override AddOperation : 
        op:TermModelOperation * 
        vidOp:int byref * 
        vids:int[] -> bool 
public final function AddOperation(
    op : TermModelOperation, 
    vidOp : int, 
    ... vids : int[]
) : boolean


Return Value

Type: System.Boolean


ITermModel.AddOperation(TermModelOperation, Int32%, array<Int32[])


This overload is supported for the following TermModelOperation values: And, Equal, Greater, GreaterEqual, Less, LessEqual, Max, Min, Or, Plus, Times, Unequal.

.NET Framework Security

See Also


HybridLocalSearchModel Class

AddOperation Overload

Microsoft.SolverFoundation.Solvers Namespace