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