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
- vid
Type: System.Int32
The variable index.
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
- 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.