ILinearModel.GetKeyFromIndex Method

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

Returns the key that is associated with a variable index.

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

Syntax

'Declaration
Function GetKeyFromIndex ( _
    vid As Integer _
) As Object
Object GetKeyFromIndex(
    int vid
)
Object^ GetKeyFromIndex(
    int vid
)
abstract GetKeyFromIndex : 
        vid:int -> Object 
function GetKeyFromIndex(
    vid : int
) : Object

Parameters

Return Value

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

Exceptions

Exception Condition
ArgumentException

The key cannot be found.

.NET Framework Security

See Also

Reference

ILinearModel Interface

Microsoft.SolverFoundation.Services Namespace