IRowVariableModel.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 variable index is not found in the model.

Remarks

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

.NET Framework Security

See Also

Reference

IRowVariableModel Interface

Microsoft.SolverFoundation.Services Namespace