Export (0) Print
Expand All

CompactQuasiNewtonModel.SetProperty 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.]

Sets a property that is at the specified variable index.

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

public virtual void SetProperty(
	string propertyName,
	int vid,
	Object value
)

Parameters

propertyName
Type: System.String
The name of the property to set. For additional information, see SolverProperties.
vid
Type: System.Int32
The variable index.
value
Type: System.Object
The value.

ExceptionCondition
ArgumentNullException

propertyName is null.

ArgumentException

vid is not valid.

InvalidSolverPropertyException

The property is not supported. The Reason property indicates why the property is not supported.

This method is typically called by Solver Foundation Services in response to event handler code.

Show:
© 2014 Microsoft