ITermModel.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 for operations that take an array of arguments to a model.

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

Syntax

'Declaration
Function AddOperation ( _
    op As TermModelOperation, _
    <OutAttribute> ByRef vidNew As Integer, _
    ParamArray vids As Integer() _
) As Boolean
bool AddOperation(
    TermModelOperation op,
    out int vidNew,
    params int[] vids
)
bool AddOperation(
    TermModelOperation op, 
    [OutAttribute] int% vidNew, 
    ... array<int>^ vids
)
abstract AddOperation : 
        op:TermModelOperation * 
        vidNew:int byref * 
        vids:int[] -> bool 
function AddOperation(
    op : TermModelOperation, 
    vidNew : int, 
    ... vids : int[]
) : boolean

Parameters

  • vidNew
    Type: System.Int32%
    The index of the new row, or the index of an existing row that has the same value as the new row.

Return Value

Type: System.Boolean
true if a new row is added; false if an existing row is re-used.

.NET Framework Security

See Also

Reference

ITermModel Interface

AddOperation Overload

Microsoft.SolverFoundation.Services Namespace