HybridLocalSearchModel.IRowVariableModel.AddRow Method
[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.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Private Function AddRow ( _
key As Object, _
<OutAttribute> ByRef vid As Integer _
) As Boolean Implements IRowVariableModel.AddRow
bool IRowVariableModel.AddRow(
Object key,
out int vid
)
private:
virtual bool AddRow(
Object^ key,
[OutAttribute] int% vid
) sealed = IRowVariableModel::AddRow
private abstract AddRow :
key:Object *
vid:int byref -> bool
private override AddRow :
key:Object *
vid:int byref -> bool
JScript does not support explicit interface implementations.
Parameters
- key
Type: System.Object
The key for the row.
- vid
Type: System.Int32%
The row index.
Return Value
Type: System.Boolean
true if the row is added to the model successfully; false if the model already includes a row that is referenced by key or if the model already includes a user variable that is referenced by key.
Implements
IRowVariableModel.AddRow(Object, Int32%)
.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.