UnconstrainedNonlinearModel.GetIndexFromKey Method

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

Maps the variable index from the key. If not found, KeyNotFoundException will be thrown

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

Syntax

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

Parameters

Return Value

Type: System.Int32
The variable index

Implements

IRowVariableModel.GetIndexFromKey(Object)

.NET Framework Security

See Also

Reference

UnconstrainedNonlinearModel Class

Microsoft.SolverFoundation.Solvers Namespace