RowVariableModel.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 the specified variable index.

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

Syntax

'Declaration
Public Overridable Function GetKeyFromIndex ( _
    vid As Integer _
) As Object
public virtual Object GetKeyFromIndex(
    int vid
)
public:
virtual Object^ GetKeyFromIndex(
    int vid
)
abstract GetKeyFromIndex : 
        vid:int -> Object 
override GetKeyFromIndex : 
        vid:int -> Object 
public 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.

.NET Framework Security

See Also

Reference

RowVariableModel Class

Microsoft.SolverFoundation.Services Namespace