CompactQuasiNewtonModel.GetKeyFromIndex Method

Returns the key that is associated with a variable index.

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

Syntax

'Declaration
Public Function GetKeyFromIndex ( _
    vid As Integer _
) As Object
public Object GetKeyFromIndex(
    int vid
)
public:
virtual Object^ GetKeyFromIndex(
    int vid
) sealed
abstract GetKeyFromIndex : 
        vid:int -> Object 
override GetKeyFromIndex : 
        vid:int -> Object 
public final function GetKeyFromIndex(
    vid : int
) : Object

Parameters

Return Value

Type: System.Object
The key that is associated with the variable index.

Implements

IRowVariableModel.GetKeyFromIndex(Int32)

Exceptions

Exception Condition
ArgumentException

The key is not found in the model.

Remarks

The key might be nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

CompactQuasiNewtonModel Class

Microsoft.SolverFoundation.Solvers Namespace