UnconstrainedNonlinearModel.GetKeyFromIndex 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 to the key. If not found, ArgumentException will be thrown
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
- vid
Type: System.Int32
the variable index
Return Value
Type: System.Object
the variable key
Implements
IRowVariableModel.GetKeyFromIndex(Int32)
Remarks
key might be null
.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.