Export (0) Print
Expand All

HybridLocalSearchModel.IRowVariableModel.TryGetIndexFromKey Method

Solver Foundation 3.0

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

Attempts to return the variable index associated with a key.

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

bool IRowVariableModel.TryGetIndexFromKey(
	Object key,
	out int vid
)

Parameters

key
Type: System.Object
The key value.
vid
Type: System.Int32%
The variable index.

Return Value

Type: System.Boolean
true if the variable exists; otherwise, false.

Implements

IRowVariableModel.TryGetIndexFromKey(Object, Int32)

Show:
© 2014 Microsoft