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
- propertyName
Type: System.String
The name of the property.
- vid
Type: System.Int32
The index for the property.
- value
Type: System.Object
The value of the property.
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
- 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.