CompactQuasiNewtonSolver.GetProperty 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.]

Returns the value of a property that is at the specified index.

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

public override Object GetProperty(
	string propertyName,
	int vid
)

Parameters

propertyName
Type: System.String
The name of the property.
vid
Type: System.Int32
The variable index.

Return Value

Type: System.Object
The value of the property.

Implements

ISolverProperties.GetProperty(String, Int32)

ExceptionCondition
InvalidSolverPropertyException

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

Show: