Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UnconstrainedNonlinearModel.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 get the variable index based on the specified key

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public bool TryGetIndexFromKey(
	Object key,
	out int vid


Type: System.Object
the key value
Type: System.Int32%
the variable index

Return Value

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


IRowVariableModel.TryGetIndexFromKey(Object, Int32)
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.