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)
Syntax
'Declaration
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
)
public:
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
Parameters
- vidOp
Type: System.Int32%
- vids
Type: array<System.Int32[]
Return Value
Type: System.Boolean
Implements
ITermModel.AddOperation(TermModelOperation, Int32%, array<Int32[])
Remarks
This overload is supported for the following TermModelOperation values: And, Equal, Greater, GreaterEqual, Less, LessEqual, Max, Min, Or, Plus, Times, Unequal.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.