ConstraintSystem.TryGetVariableFromKey Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates whether a variable is retrieved by its key.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function TryGetVariableFromKey ( _
key As Object, _
<OutAttribute> ByRef term As CspTerm _
) As Boolean
public bool TryGetVariableFromKey(
Object key,
out CspTerm term
)
public:
bool TryGetVariableFromKey(
Object^ key,
[OutAttribute] CspTerm^% term
)
member TryGetVariableFromKey :
key:Object *
term:CspTerm byref -> bool
public function TryGetVariableFromKey(
key : Object,
term : CspTerm
) : boolean
Parameters
- key
Type: System.Object
A key for a variable.
- term
Type: Microsoft.SolverFoundation.Solvers.CspTerm%
A variable.
Return Value
Type: System.Boolean
true if a variable is retrieved by its key; otherwise, false.
.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.