ILinearModel.AddRow Method (Object, SpecialOrderedSetType, Int32%)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Attempts to add a row to the model and returns a value that indicates whether a reference row for a special ordered set is added to a model.

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

Syntax

'Declaration
Function AddRow ( _
    key As Object, _
    sos As SpecialOrderedSetType, _
    <OutAttribute> ByRef vidRow As Integer _
) As Boolean
bool AddRow(
    Object key,
    SpecialOrderedSetType sos,
    out int vidRow
)
bool AddRow(
    Object^ key, 
    SpecialOrderedSetType sos, 
    [OutAttribute] int% vidRow
)
abstract AddRow : 
        key:Object * 
        sos:SpecialOrderedSetType * 
        vidRow:int byref -> bool 
function AddRow(
    key : Object, 
    sos : SpecialOrderedSetType, 
    vidRow : int
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the row is added to the model successfully; otherwise, false.

Remarks

Each special ordered set has one reference row.

.NET Framework Security

See Also

Reference

ILinearModel Interface

AddRow Overload

Microsoft.SolverFoundation.Services Namespace