Export (0) Print
Expand All

TermModel.AddRow Method

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 a row to a model.

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

public override bool AddRow(
	Object key,
	out int vid
)

Parameters

key
Type: System.Object
Optional. The key for the row, or null.
vid
Type: System.Int32%
The index of the new row or of an existing row that has the same key.

Return Value

Type: System.Boolean
true if a new variable is added; false if an existing variable has the specified key.

Implements

IRowVariableModel.AddRow(Object, Int32)
IRowVariableModel.AddRow(Object, Int32)

Show:
© 2014 Microsoft