TermModel.AddOperation Method (TermModelOperation, Int32%, Int32[])

Solver Foundation 3.0

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

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

public bool AddOperation(
	TermModelOperation op,
	out int vidNew,
	params int[] vids


Type: Microsoft.SolverFoundation.Services.TermModelOperation
The operation to add to the model.
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.
Type: System.Int32[]
The array of arguments.

Return Value

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


ITermModel.AddOperation(TermModelOperation, Int32, Int32[])