SimplexSolver.SetProperty Method

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

Sets the value of a property.

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

Syntax

'Declaration
Public Overrides Sub SetProperty ( _
    propertyName As String, _
    vid As Integer, _
    value As Object _
)
public override void SetProperty(
    string propertyName,
    int vid,
    Object value
)
public:
virtual void SetProperty(
    String^ propertyName, 
    int vid, 
    Object^ value
) override
abstract SetProperty : 
        propertyName:string * 
        vid:int * 
        value:Object -> unit 
override SetProperty : 
        propertyName:string * 
        vid:int * 
        value:Object -> unit 
public override function SetProperty(
    propertyName : String, 
    vid : int, 
    value : Object
)

Parameters

Exceptions

Exception Condition
InvalidSolverPropertyException

There is an attempt to set the property during the solve process, or there is an attempt to set the property and the event does not support setting the property.

.NET Framework Security

See Also

Reference

SimplexSolver Class

Microsoft.SolverFoundation.Solvers Namespace